Opened 11 years ago
Closed 11 years ago
#10721 closed bug (invalid)
Name attribute not getting set dynamically in IE 8
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.4.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
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.
Since there is no test case and no indication that this is a jQuery bug, I'm going to close the ticket. You might be able to get help creating a test case or workaround at our forum, http://forum.jquery.com/ or on StackOverflow.