PDA

View Full Version : whats the code to render onClick null?


canadianjameson
05-18-2005, 12:52 AM
i have a script which uses onmouseovers to repopulate a div... but when people click on the links that they're supposed to be onmouseover'ing... it reloads the page (kinda)

whats the code to render onClick="null"

Basscyst
05-18-2005, 01:15 AM
Are you saying that the page jumps to the top when they click the link? If so do this.


<a href="#" onclick="someFunction();return false;">Happy</a>


Basscyst