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 0 讨论(0) 查看其它4个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
When handling anchor click events, always use e.preventDefault(); when you don't need the anchor anyway. Fires like a charm
e.preventDefault();