Bug Tracker

Ticket #10721 (closed bug: invalid)

Opened 4 years ago

Closed 4 years ago

#10721 closed bug (invalid)

Name attribute not getting set dynamically in IE 8

Reported by: ebbutk@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:


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.

Change History

comment:1 Changed 4 years ago by dmethvin

comment:1 Changed 4 years ago by dmethvin

  • Resolution set to invalid
  • Status changed from new to closed

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.

Note: See TracTickets for help on using tickets.