RE: [Proto-Scripty] Issues selecting checkboxes in FF

2009-12-15 Thread Topsoft Design Studio
You need to also set a value for the checkbox also.

el.down('input').checked = 'checked';
el.down('input').value = '1';






-Original Message-
From: smartcookie [mailto:dpell.h...@gmail.com] 
Sent: Tuesday, December 15, 2009 12: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
prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to
prototype-scriptaculous+unsubscr...@googlegroups.com.
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 prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.




RE: [Proto-Scripty] Issues selecting checkboxes in FF

2009-12-15 Thread Rick . Wellman
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: prototype-scriptaculous@googlegroups.com
[mailto:prototype-scriptacul...@googlegroups.com] 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
prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to
prototype-scriptaculous+unsubscr...@googlegroups.com.
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 prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.




Re: [Proto-Scripty] Issues selecting checkboxes in FF

2009-12-15 Thread Alex McAuley
iirc
$(element).checked==true;


Alex Mcauley
http://www.thevacancymarket.com
- Original Message - 
From: Rick.Wellman rick.well...@kiewit.com
To: prototype-scriptaculous@googlegroups.com
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: prototype-scriptaculous@googlegroups.com
 [mailto:prototype-scriptacul...@googlegroups.com] 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
 prototype-scriptacul...@googlegroups.com.
 To unsubscribe from this group, send email to
 prototype-scriptaculous+unsubscr...@googlegroups.com.
 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 
 prototype-scriptacul...@googlegroups.com.
 To unsubscribe from this group, send email to 
 prototype-scriptaculous+unsubscr...@googlegroups.com.
 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 prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.