I’m still learning jQuery and I’m able to search for all elements on a page where an attribute is “like” a text string. (using something like $(a[href*=pdf]) to get all PDF links)
Is there anyway to search for all elements where the attribute is not like a query string?
I’m wanting to use this so I can check for any links that point to an external domain and to do something special with them
You can use
:notlike thisSee example in jsfiddle http://jsfiddle.net/gNFQS/1/