I prefer to use the is() function for this type of thing because I think it reads really well:
if($(this).is(':checked')) { ... } else { ... } It reads "if this is checked...", which I like. --Erik On 5/16/07, Skilip <[EMAIL PROTECTED]> wrote:
Thanks a lot for helping me out! I've figured out that $ (this).attr("checked"); returns true or false.