SyntaxFix
Write A Post
Hire A Developer
Questions
var pdf = MyPdf.pdf; window.open(pdf);
This will open the pdf document in a full window from JavaScript
JavaScript
A function to open windows would look like this:
function openPDF(pdf){ window.open(pdf); return false; }