Jquery根据属性模糊查询节点
[属性名称] 匹配包含给定属性的元素
[attr=value] 匹配包含给定属性的元素 (大小写区分) //$("li[id='10']")
[attr*=value] 模糊匹配 //$("input[type='Text'][value*='Victor']")
[attr!=value] 不能是这个值 //$("input[type='Text'][value!='Victor']")
[attr$=value] 结尾是这个值 //$("input[type='Text'][value$='Victor']")
[attr^=value] 开头是这个值 //$("input[type='Text'][value^='Victor']")
posted on 2019-02-22 15:06 赢在当下_Victor 阅读(913) 评论(0) 编辑 收藏 举报