JavaScript Void(0)

Akiii
Posted by Akiii under JavaScript category on | Points: 40 | Views : 2791
To prevent the load from refreshing, you could use the JavaScript void() function and pass a parameter of 0 (zero).


<a href="JavaScript:void(0);" ondblclick="alert('Dotnetfunda')">Double Click Me!</a> 





Thanks and Regards
Akiii

Comments or Responses

Login to post response