Html duplicated ID

后端 未结 8 1790
渐次进展
渐次进展 2020-12-01 23:41

My control is built dynamically accordingly to user input, there are n textboxes whose IDs are dynamic too.

However, I did not foresee that this HTML w

8条回答
  •  一向
    一向 (楼主)
    2020-12-02 00:10

    I will suggest use class instead of id. Or add some postfix while generating dynamic ids.

提交回复
热议问题