[jQuery] Re: XPath, select by attribute substring

2007-10-11 Thread Wizzud
Is this what you're after ... http://docs.jquery.com/Selectors/attributeContains#attributevalue ? On Oct 11, 12:00 pm, Serge [EMAIL PROTECTED] wrote: Is it possible to select all elements by part of its attribute? May be there is some simple regular expressions allowed? I don't know full

[jQuery] Re: XPath, select by attribute substring

2007-10-11 Thread [EMAIL PROTECTED]
yes you should check out the Attibute Filters in the docs: http://docs.jquery.com/Selectors You can do this: $(img[src*='thumb']) which will return all images with thumb somewhere in the src string. Carter On Oct 11, 4:00 am, Serge [EMAIL PROTECTED] wrote: Is it possible to select all