SteveSanderson/knockout — Issue #195: uniqueName binding doesnt work in ie7
Author: isleigh
Created: 2011-11-04 07:03:51+00:00
State: open

In the standard binding "uniqueName" there is the following

// Workaround IE 6 issue - http://www.matts411.com/post/setting_the_name_attribute_in_ie_dom/
if (ko.utils.isIe6)
element.mergeAttributes(document.createElement(""), false);

The same issue occurs in ie7

According to http://msdn.microsoft.com/en-us/library/ms534184.aspx

"In Internet Explorer 8 and later versions, you can set the NAME attribute at run time on elements that are dynamically created with the createElement method. "