Link opens two windows
Posted: Tue Jun 22, 2010 3:03 pm
Hey Guys,
I have a buttons linked to pdf's and to a form and when the buttons are clicked it opens 2 pages of the same thing. If I take out the _blank target it opens only one but of course in the same page which I DONT want.
Can anyone tell me how to fix the problem please here's the code:
[text]
<a href="assets/Youth_Competition.pdf" target="_blank">
<input name="printRegForm" type="image" id="printRegForm" accesskey="enter" value="Print Registration Form" src="assets/printButton.png" />
</a>
<a href="assets/tmp/persistent/form209441/form.html" target="_blank">
<input name="printRegForm" type="image" id="printRegForm" accesskey="enter" src="assets/onlineButton.png" />
</a>
[/text]
They are both within a table.
Thanks in advance!
I have a buttons linked to pdf's and to a form and when the buttons are clicked it opens 2 pages of the same thing. If I take out the _blank target it opens only one but of course in the same page which I DONT want.
Can anyone tell me how to fix the problem please here's the code:
[text]
<a href="assets/Youth_Competition.pdf" target="_blank">
<input name="printRegForm" type="image" id="printRegForm" accesskey="enter" value="Print Registration Form" src="assets/printButton.png" />
</a>
<a href="assets/tmp/persistent/form209441/form.html" target="_blank">
<input name="printRegForm" type="image" id="printRegForm" accesskey="enter" src="assets/onlineButton.png" />
</a>
[/text]
They are both within a table.
Thanks in advance!