How to get all child inputs of a div element (jQuery)

前端 未结 6 1760
一生所求
一生所求 2020-12-12 11:52

HTML:

6条回答
  •  不知归路
    2020-12-12 12:52

    Use it without the greater than:

    $("#panel :input");
    

    The > means only direct children of the element, if you want all children no matter the depth just use a space.

提交回复
热议问题