try

$('#mycheck')[0].checked

checked is one of those attributes that won't work well with 
getAttribute and setAttribute cross browser.


-- Klaus



David Gironella schrieb:
> This always return to me null, if checkbox is checked or not.
> 
> Giro.
> 
> -----Mensaje original-----
> De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre
> de Dylan Verheul
> Enviado el: miƩrcoles, 06 de septiembre de 2006 14:42
> Para: jQuery Discussion.
> Asunto: Re: [jQuery] Checked input box
> 
> $('#mycheck').attr("checked")
> 
> On 9/6/06, David Gironella <[EMAIL PROTECTED]> wrote:
>> I can check a chekckbox input
>>
>> Something that it
>>
>> <input type="checkbox" id="mycheck">
>>
>> $('#mycheck').checked(); and return true or false
> 
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 

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

Reply via email to