On Jul 9, 1:50 pm, "Sean Catchpole" <[EMAIL PROTECTED]> wrote: > I believe that learning jquery returns an array like object is more > useful than creating a .exists() function.
IMO, many people look for "common sense" methods that should exist in jQuery, or at least as part of a standard and commonly-used plugin. An exists() method seems like a reasonable candidate. 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. Matt Kruse