Many times I’ve seen links like these in HTML pages:

<a href="#" onclick='someFunc(3.1415926); return false;'>Click here !</a>

What’s the effect of the return false in there?

Also, I don’t usually see that in buttons.

Is this specified anywhere? In some spec in w3.org?

16 Answers
16

Leave a Reply

Your email address will not be published. Required fields are marked *