[jQuery] Re: Attribute filters doesn't work with similar values

2009-11-17 Thread UVL
Thank you, but I have no control on the page, in fact I'm working on a Chrome extension, and this code should runs on any opened page to find any XFN tag. So I'm worried I'll have to extract an "rel" attribute, then split each value and manually find what I'm looking for ... This seems a perfect t

[jQuery] Re: Attribute filters doesn't work with similar values

2009-11-16 Thread Jules
Put a space after me or alternatively, use a delimiter if it is possible. -- HTML < a href="site" rel="me " >me< /a > < a href="site" rel="met" >met< /a > -- Code xfn_me = $("a[rel*='me ']").length; or xfn_me = $("a[rel*='me.']").length; On Nov 17, 6:57 am, UVL wrote: > I'm trying to filter the