On Aug 26, 1:09 am, buda <[email protected]> wrote:
> I need to put into hash pairs:
>
> input1.id : input1.getValue
> ....
> inputN.id : inputN.getValue
>
> where N may be from 5 to 25
>
In that case, update is the right tool, and I can't see anything wrong
with your initial syntax. Could the error be somewhere else? Or might
you have a stray comma at the end of your object ("h.update
({ input.id: input.getValue(), });")? (IE objects to that, rightly,
but Firefox is more forgiving).
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---