<--- --------------------------------------------------------------------------------------- ---- Blog Entry: Cool jQuery Predicate Selectors Author: Ben Nadel / Kinky Solutions Link: http://www.bennadel.com/index.cfm?dax=blog:1003.view Date Posted: Oct 19, 2007 at 5:21 PM ---- --------------------------------------------------------------------------------------- ---> jQuery Attribute Predicate Demo

jQuery Attribute Predicate Demo

Tests / Results

Full Match: "li[ @id = 'list1' ]"

Start With Match: "li[ @id ^= 'list' ]"

Ends With Match: "li[ @id $= '3' ]"

Contains Match: "li[ @id *= 'st' ]"