jQuery - Selector for duplicate ID's

前端 未结 7 1174
名媛妹妹
名媛妹妹 2020-12-02 00:40

I have a page with duplicate ID\'s for a form element. The catch is I the elements show up separately based on a toggle. So both ID\'s never show up simultaneously.

相关标签:
7条回答
  • 2020-12-02 01:08

    Duplicate IDs are invalid HTML and will nearly always cause issues with scripting. Avoid if at all possible.

    0 讨论(0)
提交回复
热议问题