How to disable default click of a hyperlink in html

2. March 2013

How to disable default click of a hyperlink in html

We can use below statement in href of any hyperlink tag .

<a href='javascript:;' >something</a>

Javascript

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading