What is javascript:void(0)?
--> used when you don't want a link to load a new page or refresh because this will just dynamically update a form field when a link having this is clicked.
e.g.
What does Tammy LOVE SAYING?
code:
<a href="javascript:void(0)" onclick="alert('Whatever Majar')">What does Tammy LOVE SAYING?</a>
SHARE
0 comments:
Post a Comment