Why Does a Label Inside an Input Trigger a Click Event

后端 未结 0 1705
醉酒成梦
醉酒成梦 2021-02-15 20:48

If I have an input inside a label, why does every word in the sentence trigger a click event?

Here is a jsFiddle for an exampl

相关标签:
回答
  • 消灭零回复
提交回复
热议问题