One jQuery Change Event on Multiple Elements

前端 未结 6 1352
醉酒成梦
醉酒成梦 2021-01-11 13:46

I have 3 textboxes, all with the same id\'s that I process into ASP by bringing it into a controller array

I have a link that adds an unlimited number of textboxes b

6条回答
  •  礼貌的吻别
    2021-01-11 14:11

    You cannot use ID to reference more than one element. An ID must be UNIQUE on any HTML page !

    Use a class instead :-).

提交回复
热议问题