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
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