The code below, opens up two windows of 'test2.html' if you click on the button, where as clicking on link, it will open only one.
"..
This is test.html<BR>
<a href="test2.html" target="_new" alt="go to test2">
Go to test2<input type="button" name="pButton" value="goto test2"/>
</a>
<a href="test2.html" target="_new" alt="go to test2">
Go to test2<input type="button" name="pButton" value="goto test2"/>
</a>
.."
This may be a bug in Mozilla 2.0.0.
The same works correctly (opens up only one window) in firefox 3.
No comments:
Post a Comment