When use the jQuery Attribute Not Equal Selector [name!="value"]
,
These elements would be selected:
attribute
attribute
, but not with the given value
.It is case sensitive.[name!="value"]
selector Syntax$('[attribute!="value"]')
[name!="value"]
selector ExamplesFollowing is a simple example which makes use of jQuery Attribute not equal Selector.It would find all list item elements that don't have a title or don't have a title with value script
,then hightlight them.