iirc
$(element).checked==true;

Alex Mcauley
http://www.thevacancymarket.com
----- Original Message ----- 
From: "Rick.Wellman" <[email protected]>
To: <[email protected]>
Sent: Tuesday, December 15, 2009 8:26 PM
Subject: RE: [Proto-Scripty] Issues selecting checkboxes in FF


> Um,... I am pretty sure if you see that a checkbox is checked then it is
> checked.  You gotta suspect your validation code ('cause it sounds like
> your validation code is checking a group of checkboxes to make sure that
> at least one is checked).
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of
> smartcookie
> Sent: Tuesday, December 15, 2009 2:18 PM
> To: Prototype & script.aculo.us
> Subject: [Proto-Scripty] Issues selecting checkboxes in FF
>
> Hey there:
>
> Does anyone know a good way to programmably "select" or "click" on a
> checkbox input in FF?
>
> I have tried :
> el.down('input').checked = 'checked';
>
> and
> el.down('input').onclick();
>
> In the first code, I can see the checkboxes being checked, but when I
> submit, my error validation alerts that nothing is selected...
>
> Does anyone know another method..
>
> Thanks
>
> --
>
> You received this message because you are subscribed to the Google
> Groups "Prototype & script.aculo.us" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/prototype-scriptaculous?hl=en.
>
>
> --
>
> You received this message because you are subscribed to the Google Groups 
> "Prototype & script.aculo.us" group.
> To post to this group, send email to 
> [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/prototype-scriptaculous?hl=en.
>
>
> 

--

You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.


Reply via email to