On Sep 10, 3:04 pm, Diodeus <[EMAIL PROTECTED]> wrote:
> There is nothing in Prototype to perform this task. Just use plain-old
> JavaScript.

That is not exactly true...

> document.myform.mycheckbox.checked=false

while this is a very direct way of doing so, Prototype does offer a
wrapper for the same command:

$('formId').getInputs('checkbox').invoke('setValue', false); // will
uncheck all checkboxes in the form

As long as you can access the checkboxes individually, you can simply
$('someCheckboxId').setValue(false); // to uncheck it

> On Sep 10, 2:29 pm, macsig <[EMAIL PROTECTED]> wrote:
> > Hello, is it possible through prototype uncheck a checkbox?
> > I'm working on a rails app and I need, when an action is submitted
> > unchecked some boxes within a rjs.
> > Thanks and have a nice day!
> > Sig
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-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 

Reply via email to