Shouldn't this line take care of that?


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.

Anyway, I ended up going a different route that is working great.


On Jun 11, 5:07 am, "Alex McAuley" <>
> Updated your code to include if the checkbox is checked!!
> Alex
> ----- Original Message -----
> From: "jhicks" <>
> To: "Prototype &" <>
> Sent: Wednesday, June 10, 2009 6:18 PM
> Subject: [Proto-Scripty] Getting checked checkbox values
> > I've got a group of checkboxes that display on a page. By clicking on
> > a few different links on the side, the order of the checkboxes (and
> > their text) will adjust based on which link was clicked. I'm doing an
> > Ajax update when the link is clicked to get the new html.
> > I need to get the values for all checked checkboxes when the link is
> > clicked so that I know which checkboxes to mark as checked when i do
> > the Ajax update.
> > I'm using the following code, but it only seems to be grabbing the
> > checked checkbox values that were there when the page loaded and not
> > the checked checkbox values for the checkboxes that have been checked
> > after the page has loaded. Any suggestions?
> >
You received this message because you are subscribed to the Google Groups 
"Prototype &" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to