I tried to assign an id 'checkbox' to the checkbox in the example.
Using not('[EMAIL PROTECTED]') result in js error in firefox:

'z has no properties' points to line 710 of jQuery.js (Rev: 249)


On 10/4/06, John Resig <[EMAIL PROTECTED]> wrote:
> > But in not('[EMAIL PROTECTED]@name=checkbox]') ,
> > It should read: select input element OR element with checkbox type OR
> > element named 'checkbox'.
> >
> > Is that right?
>
> .not() is the inverse of .filter()
>
> .filter("[EMAIL PROTECTED]@name=checkbox]') would be:
>
> "Is an input element AND is a checkbox AND is named checkbox"
>
> whereas .not("[EMAIL PROTECTED]@name=checkbox]') is:
>
> "Is NOT an input element AND is NOT a checkbox AND is NOT named checkbox"
>
> I guess it's not the true inverse, but you get the idea.
>
> --John
>
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>


-- 
Best Regards,
Jacky
網絡暴民 http://jacky.seezone.net

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to