0

Possible Duplicate:
Why use `javascript:void(0)` instead of `javascript:` as an href do nothing placeholder?

It seems we can achieve the same result using javascript:; while saving 7 characters. Why it is always recommended to use javascript:void(0)?

Community
  • 1
  • 1
nius
  • 509
  • 3
  • 12
  • One more related: [Href attribute for JavaScript links: “#” or “javascript:void(0)”?](http://stackoverflow.com/questions/134845/href-attribute-for-javascript-links-or-javascriptvoid0) – Alvin Wong Feb 01 '13 at 07:34
  • My bad. I didn't get it in the search result. @Sudhir Thank you! – nius Feb 01 '13 at 07:37

0 Answers0