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
  • 155,085
  • 27
  • 166
  • 222
Gaurav Bhatt
  • 21
  • 1
  • 3

0 Answers0