Ticket #10721 (closed bug: invalid)
Name attribute not getting set dynamically in IE 8
|Reported by:||ebbutk@…||Owned by:|
Trying to set a name attribute dynamically is not working in IE 8. It is to be noted that the name attribute contains ("_"(underscore) and "-"(hyphen) )
I am not adding jsfiddle code because it works properly.
a new hidden attribute submitName is being set each time for name attribute. If I give <!DOCTYPE html> then it works fine, if I give <!DOCTYPE html PUBLIC "-W3CDTD HTML 4.01 TransitionalEN" "http://www.w3.org/TR/html4/loose.dtd"> (This is our default DOCTYPE) it doesn't work. I cannot change to <!DOCTYPE html> as it would break the page layout completely. What's the fix for this ? I have also tried jQuery 1.6.* version as well with no luck.