Thank you Brandon.  A great idea but it didn't seem to do the trick.  :(

Will

On 2/1/07, Brandon Aaron <[EMAIL PROTECTED]> wrote:

On 2/1/07, Brandon Aaron <[EMAIL PROTECTED]> wrote:
> Try adding return true; to both of the methods.

I meant to include the code. :)

$(".musthave label")
    .toggle(function(){
        $(this).addClass("musthavechecked");
        return true;
    },function(){
        $(this).removeClass("musthavechecked");
        return true;
    });

It looks like .toggle is returning false if you don't explicitly set
it to return true. Let me know if this works or not.

--
Brandon Aaron

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

Reply via email to