Upload PDF on webpage

John

New Member
#1
Hi All,

I need to attach PDF file on web page created through HTML/Web Speed. Can anybody please suggest how can this be achieved? Thank You.
 
#3
Thanks for reply Marco.

I am trying below code but it is not working to attach PDF file on webpage. Could you please advice how can I achieve this? Thank You

HTML Code
=======
<html>
<head>
<script src="js/xx_fileupload.js"> </script>
<script src="/js/xx_ajaxcall.js"></script>
</head>
<body>
<input type=file name="browse" id="myfile"> </br>
<button onclick='saveToJs();'>Upload</button>
</body>

</html>

============ .js File====================
function saveToJs()
{
var files = document.getElementById("myfile").files;
getAsText1(files[0]);

} /*
 
Top