jQuery Click fires twice when clicking on label

来源:互联网 发布:eplan软件 64位 编辑:程序博客网 时间:2024/04/30 16:19

http://stackoverflow.com/a/24564826/2177408

I tried adding the solution above by adding:

evt.stopPropagation();evt.preventDefault();

but didn't work. However adding this:

evt.stopImmediatePropagation();

solved the problem! :)


0 0
原创粉丝点击