I want to run a simple JavaScript function on a click without any redirection.
Is there any difference or benefit between putting the JavaScript call in the hr
hr
In addition to all here, the href is shown on browser's status bar, and onclick not. I think it's not user friendly to show javascript code there.