Why Does a Label Inside an Input Trigger a Click Event

后端 未结 0 1694
予麋鹿
予麋鹿 2021-02-15 20:16

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

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