Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
$("#Lastform :input:text")
在 Lastform 中给出所有文本类型的输入
我想将所有输入类型的文本元素和下拉列表放在一起
$("#Lastform :input:text AND 所有下拉菜单")
尝试
$("#Lastform").find('input:text, select')
像这样 -
$("#Lastform input:text,#Lastform select")
您可以加入多个选择器,
,