JavaScript function in href vs. onclick - Stack Overflow
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 href attribute (like this:
stackoverflow.com |