[jQuery] Re: Doubts on Multiple selection employment

2009-09-21 Thread Karl Swedberg
I'd use a filter function. Something like this maybe: $('#MyTable tr').filter(function() { return /^(Row(?!Header)|Line(?!Empty))/.test(this.id); }) It's a kind of crazy regular expression, with negative lookaheads, but it works (as of JavaScript 1.5). --Karl Karl Swedberg ww

[jQuery] Re: Doubts on Multiple selection employment

2009-09-21 Thread Erich Nascimento
Thank you MorningZ, I seem to have managed to solve the problem, but I'd like to know whether in Attribute Filters I could use more tha once the same operator. For exemple: to have two or more times the operator ^= to select certain elements that iniciate with different IDs. Perhaps that is poss

[jQuery] Re: Doubts on Multiple selection employment

2009-09-21 Thread MorningZ
I don't see talk in the docs http://docs.jquery.com/Selectors/attributeStartsWith#attributevalue about using multiple of those in a single selector you may want to seek a different approach i'd try to help but your selector doesn't make much sense On Sep 21, 8:46 am, Erich Nascimento