[jQuery] Re: Simple question about Radio Buttons

2008-09-19 Thread Namlet
Well I fixed it, I had to use: $(this).attr(checked) to get the value. Should I have known this? On Sep 19, 2:48 pm, Namlet [EMAIL PROTECTED] wrote: Why does this line of code not work for the radio button? if ($(this).attr(type) == radio) alert($(this).checked); I get 6 alert boxes (I

[jQuery] Re: Simple question about Radio Buttons

2008-09-19 Thread Josh Nathanson
Message - From: Namlet [EMAIL PROTECTED] To: jQuery (English) jquery-en@googlegroups.com Sent: Friday, September 19, 2008 1:11 PM Subject: [jQuery] Re: Simple question about Radio Buttons Well I fixed it, I had to use: $(this).attr(checked) to get the value. Should I have known

[jQuery] Re: Simple question about Radio Buttons

2008-09-19 Thread Namlet
performant, since you are not executing the jQuery function in that case. -- Josh - Original Message - From: Namlet [EMAIL PROTECTED] To: jQuery (English) jquery-en@googlegroups.com Sent: Friday, September 19, 2008 1:11 PM Subject: [jQuery] Re: Simple question about Radio Buttons Well I