On Thursday, June 21, 2007 9:48 AM Klaus Hartl said:

> $(document).ready(function() {
>  $("[EMAIL PROTECTED]'section']").click(function(){
>   $(this)[this.checked ? 'addClass' : 'removeClass']('checked'); });
> });

What kind of syntax is that third line? (I don't mean the ternary
operator.)

Reply via email to