Hi,

I need to .clone() sections in a dynamic form, but get problems with
the radio buttons in IE.

To work as a group, the radio buttons need to have the same name (per
section). This is accomplished by changing the name attribute after
cloning a hidden section in a <div>. Easy with jQuery! - and it works
with FF, Opera, Chrome, Safari...

IE however, does not allow changing of name attribute dynamically, and
treats all radio buttons across the sections as part of the same
group!!

Does anyone know of a workaround, preferably using jQUery, and
avoiding browser sniffing and low-level DOM programming?

References:
http://www.thunderguy.com/semicolon/2005/05/23/setting-the-name-attribute-in-internet-explorer/
http://stubblog.wordpress.com/2008/05/01/ie-cant-set-name-attribute-dynamically/

Reply via email to