not if you wanted all checkboxes and seperate based on checked / unchecked 
values to send what is now checked and what was checked !





----- Original Message ----- 
From: "Maarten" <maartenwie...@gmail.com>
To: "Prototype & script.aculo.us" <prototype-scriptaculous@googlegroups.com>
Sent: Thursday, June 11, 2009 7:55 PM
Subject: [Proto-Scripty] Re: Getting checked checkbox values


>
>> Its not that it was giving me ALL checkboxes back. It was that it was
>> giving me back the checked checkboxes when the page initially loaded
>> and not giving me the checkboxes that were checked after that.
>
> Could you provide some more of your source code? What exactly happens
> after the Ajax request?
>
> I'm guessing what you're looking for is an observer on the check
> boxes, the first thing that comes to mind is a form observer, see
> http://www.prototypejs.org/api/timedObserver, but another solution
> might suit you better, depending on your wishes.
>
> Oh, and an easier and more elegant way to collect the values of all
> checked input elements would be.
>
> var checkedValues = $$("input:checked").invoke("getValue");
> >
> 


--~--~---------~--~----~------------~-------~--~----~
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 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to