Open Local Pdf File From A Local Html File
I am working in a simple html application which is expected to run in IE8 and above, Chrome browsers. The html application is launched from a desktop shortcut and it will open in t
Solution 1:
try this out, just change location of ur pdf file into below href ..., better put thm in a seperate folder ie the html and pdf file that u wanna download.
<html><body><scriptsrc="http://code.jquery.com/jquery-1.11.3.min.js"></script><ahref="#"id="someID" >continue</a><script>
$('a#someID').attr({target: '_blank',
href : 'http://math.hws.edu/eck/cs124/downloads/javanotes6-linked.pdf'});
// give the location of ur file... in href</script></body></html>
Post a Comment for "Open Local Pdf File From A Local Html File"