A Href and onClick Button
Posted on 2004-04-26
Hi I have here a link that executes a function (pops open window) nicely but when I tried to convert it to button onClick it doesn't do what it is supposed to do. Where is my error?
<a title="comment on this post" class="h5_b" href="somepage.html" onclick="popWindow(this.href);return false;">Search!</a>
(the 'return false' needs to stay there)