📜  onclick 事件触发两次 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:08.348000             🧑  作者: Mango

代码示例1
I had the same problem in my code,

I had put select tag inside label tag, which was triggering "on click" event twice on a single click on this select box.

Removed label tag and worked fine.