jquery click event on anchor

前端 未结 4 1708
走了就别回头了
走了就别回头了 2021-02-05 14:43

Here\'s the snippet of html i have:


      
      
4条回答
  •  庸人自扰
    2021-02-05 15:33

    When handling anchor click events, always use e.preventDefault(); when you don't need the anchor anyway. Fires like a charm

提交回复
热议问题