Skip to main content

Bug Tracker

Side navigation

#10721 closed bug (invalid)

Opened November 08, 2011 05:12PM UTC

Closed November 08, 2011 05:24PM UTC

Name attribute not getting set dynamically in IE 8

Reported by: ebbutk@gmail.com 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.

Attachments (0)
Change History (1)

Changed November 08, 2011 05:24PM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

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.