Preserved Topic: text forms (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: switzerland |
posted 01-29-2003 16:33
Hi, I'm having trouble writing a script. It should fill out all fields same as the first one, like this: |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 01-29-2003 16:54
Instead of |
Bipolar (III) Inmate From: switzerland |
posted 01-29-2003 17:29
thanks... That worked fine. |
Bipolar (III) Inmate From: Berlin (almost) |
posted 01-29-2003 18:05
Accessing radio buttons via JavaScript is a bit more complicated as the buttons that belong to a group are stored in an array. You have to loop through the array to see which button is checked as explained here: |
Bipolar (III) Inmate From: switzerland |
posted 01-29-2003 18:55
Thanks for the link. I'm not trying to loop through the array, I'm trying to loop through multiple arrays. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 01-29-2003 19:14
Instead of |
Bipolar (III) Inmate From: switzerland |
posted 01-29-2003 20:18
Thanks a lot Slime! |