Brice Burgess schrieb: > John Resig wrote: >> Unfortunately, not in any way that is universally practical. >> >> The div:first query is obviously improvable, but when you get into >> queries like "[EMAIL PROTECTED]" it becomes a lot less clear. >> >> I'll think about improving TAG:first/last - as that seems like a >> common case, at least. >> > I see what you're saying. It is too bad there is no native DOM selector > that supports an SQL like clause with LIMIT, ORDER BY, and of course > compundable "attribute LIKE" support :) .. what would we need jQuery for > then though? ;(
It's in the works: http://www.w3.org/TR/selectors-api/ But that will take another few years I think. Until then we're lucky to have jQuery. -- Klaus _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/