jquery笔记之属性选择器 查找以某种条件开头的页面元素 转载:http://www.blogbus.com/amyqiong-logs/78340326.html $("div[id]") 查找所有含有 id 属性的div元素. $("div[id='ajaxa']") 查找 id 为 ajaxa 的 div 元素. $("div[id!='ajaxa']") 查找 id 不为 ajax
:hidden匹配所有的不可见元素,input 元素的 type 属性为 "hidden" 的话也会被匹配到Matches all elements that are hidden, or input elements of type "hidden".返回值 Array<Element>示例 查找所有不可见的 tr 元素 HTML 代码:<table><tr style="display:none"><