A repository of over 1000 quality jQuery plugins

jQuery Attribute Contains Selector [name*=”value”]

Learn all about the jQuery function Attribute Contains Selector [name*=”value”].

This is the most generous of the jQuery attribute selectors that match against a value. It will select an element if the selector’s string appears anywhere within the element’s attribute value. Compare this selector with the Attribute Contains Word selector (e.g. [attr~="word"]), which is more appropriate in many cases.