Hey,
In FF the radio buttons this script generates work fine, but in IE6 they don't. I haven't tried IE7 yet.
I have tried adding the whole lot using innerHTML+="<newfieldinfo>" but that resets the values in the form in FireFox whenever you add a new element, so I've had to do it the appendChild/setAttribute way.
You'll also see that I've tried removing the attributes 'disabled' and 'readonly' incase IE6 sticks them there by default, which it appears it doesnt so you can remove those lines (24 & 25)
Look here for the code - stick it in an HTML file and see for yourself! Any radio buttons it generates just don't work
http://phpfi.com/287493
Any ideas on this? Perhaps a different approach altogether?
Cheers!
In FF the radio buttons this script generates work fine, but in IE6 they don't. I haven't tried IE7 yet.
I have tried adding the whole lot using innerHTML+="<newfieldinfo>" but that resets the values in the form in FireFox whenever you add a new element, so I've had to do it the appendChild/setAttribute way.
You'll also see that I've tried removing the attributes 'disabled' and 'readonly' incase IE6 sticks them there by default, which it appears it doesnt so you can remove those lines (24 & 25)
Look here for the code - stick it in an HTML file and see for yourself! Any radio buttons it generates just don't work

http://phpfi.com/287493
Any ideas on this? Perhaps a different approach altogether?
Cheers!
Last edited: