jQuery - Selector for duplicate ID's

前端 未结 7 1209
名媛妹妹
名媛妹妹 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:04

    Avoid duplicates ids on the page. It is not a valid HTML.

提交回复
热议问题