<input type="text" /> <input type="button" />
$('input[type=text || button]'); //for example,double pipes as an OR does not work
我浏览了这些文档,但是我找不到任何使用逻辑运算符的能力或提供匹配列表的方法。
$('input[type="text"],input[type="button"]');