[jQuery] Re: filter some elements problem

2009-03-09 Thread Rahman Mousavian
THANKS very much Very useful thanks again ;) On Mar 8, 12:04 am, ricardobeat wrote: > You can satisfy condition 1 and 3 with this: > > $('a:not([href*=javascript])[target!=_blank]') > > But it's not that easy for nº 2. What is saved on the onclick > attribute is a function, not plain text. You c

[jQuery] Re: filter some elements problem

2009-03-07 Thread ricardobeat
You can satisfy condition 1 and 3 with this: $('a:not([href*=javascript])[target!=_blank]') But it's not that easy for nº 2. What is saved on the onclick attribute is a function, not plain text. You can see the source code of the function with the .toString() method, so you could do this: $('a: