I want to press a button to open a new tab showing a PDF file.
Currently, I have ...
<a id="vsFax" target="_blank" href="/index.php" title="Jobsheet"
<button id="vsViewJobsheetButton">View jobsheet</button>
and each browser resulted in a different outcome (Chrome:new tab OK,
Firefox:2 new tabs both OK, IE:nothing, Safari:new window)
I know that target is a no-no for standards (and it seems IE is the
only one obeying it this time around!).
How do I do this? The real url is supplied at runtime via an AJAX
request. I can assign it to whatever is needed.
I could just style the <a> as a button ... is that possible?
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to
For more options, visit this group at