Hi there,

my initial page has (at least) two forms. How do I handle then for
example a list of radio buttons in the newly generated code via
Ajax.Updater? I need a Javascript which loops through the radio
buttons to see which one has been selected and returns this one to one
of the forms. In most cases a loop like this one

   for (var i=0; i<document.form[0].selectedID_temp.length; i++)
   {
      ....
   }

does it. But not always. Sometimes the form[0] results in an error
message. It seems it depends where my form has been positioned on the
page.

Can anyone give me a hint what the most practical way is to get this
done? Hope my explanation was good enough...

Thanks for any help!



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to