all jQuery objects have a length attribute. if it is 0, then your query did not match anything.
o On Jul 30, 3:12 am, Adrian Lynch <[EMAIL PROTECTED]> wrote: > When I do something like the following $("div/a"), is there a way to > determine if that doesn't match any elements? > > find(expr) looked like the one but it returns a jQuery object. Can I > interrogate this to see if it is "empty"? > > Thanks. > > Adrian