Hello all,

I'm currently using Perl CGI to generate a "Results" webpage. This results
webpage specifies unique directories generated within the script and print
these in between the blocks of html so various download and display buttons
work.

My problem is that I'm using a button to open a file in a new tab and the
new tab URL uses single quotes and won't work using double or none. This
then messes up the printing of the html in the Perl script.

Can anybody help me? (Example provided below).

 <input type="button" value="Open Window"
onclick="window.open('THE URL OF THE FILE I WANT TO OPEN IN A NEW TAB UPON
CLICKING THE BUTTON')">

If this isn't clear or it's a total sin to post html in an email to the
list then I apologise.

Any help is greatly appreciated!

Thanks,
James.

Reply via email to