On 06/11/06, Aaron Heimlich <[EMAIL PROTECTED]> wrote:
> Why not just do
>
> if(!jQuery("div").is(":foo")) {
>     // do stuff...
> }

I thought of that just after hitting send... however, when providing a
function I think it is good to provided a counterpart as well.

While it is documented, 'not' may be misinterpreted as returning a
boolean (in reality it is the opposite of filter).

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to