Why does jQuery .change() not fire on radio buttons deselected as a result of a namesake being selected?

后端 未结 3 506
执念已碎
执念已碎 2021-01-18 04:57

If I have several radio buttons of the same name, only one can be selected at any one time. When one becomes selected, any namesakes lose their selection. I\'m intrigued as

3条回答
  •  爱一瞬间的悲伤
    2021-01-18 05:26

    There is no need to fire an event for each radio button in a named group, when one is selected you know the others are not selected

提交回复
热议问题