set name parameter does not work in ie7
Looks like attr("name","value") method is not working to set name attribute value for input type in IE 7. It works fine in IE 8 and other browsers. Method works fine for other attribute in IE 7 e.g. id attribute
While setting name attribute it sets 'submitName' attribute and not 'name' attribute. Somehow IE 7 is not allowing to set name attribute dynamically.