Matt Kruse wrote:
As another example, I think .hasClass() should exist, even though you can do .is(".className") - simply because most people will look for a method called "hasClass" rather than reading the docs and eventually finding that .is() is the correct way to do it. It makes jQuery a little more approachable and user-friendly if it has exactly what you're looking for and expect, even though it may just be a wrapper for the real underlying functionality.
hasClass() is on the 1.2 roadmap.
I can't find the initial branch of this thread. Could someone repeat what exists() is supposed to do?
-- Jörn Zaefferer http://bassistance.de