我知道要使用名为attrName的atttribute过滤元素,其值为attrValue,我这样做:
filter("[attrName='attrValue']")
Run Code Online (Sandbox Code Playgroud)
但是查看文档http://api.jquery.com/category/selectors/我看不到选择所有元素的选项st attrName> attrValue
这会有用吗
filter("[attrName>'attrValue']")
Run Code Online (Sandbox Code Playgroud)