2

I have a minor confusion, as I need to use some anchor tags on navigations which on hovering will trigger some actions but on click I want them to get disabled, I referred to soo many solutions and concluded with the below two but confused which one to use:

  1. <a href="javascript:void(0)">
  2. <a href="#" onClick="return false;">
mplungjan
  • 169,008
  • 28
  • 173
  • 236
Gaurav Bhatt
  • 21
  • 1
  • 4

0 Answers0