Hey everyone,

I today found out that you can use the attribute filter to filter for keys
in generic objects, which is *way* cool. Check this out:

$([
    { foo: 1, bar: 0 },
    { foo: 0, bar: 0 }
]).not("[foo=0]")

=> returns [{ foo: 1, bar: 0 }]

This is insanely useful if working with JSON or in general big data sets,
and the only piece missing right now is better comparison methods. So I'd
like to see "[foo>5]" working, for instance.

What do you think?

-- 
Paul Bakaus
UI Architect
--
http://paulbakaus.com
http://www.linkedin.com/in/paulbakaus

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to