SteveSanderson/knockout — Issue #351: Line 1363 : ko.selectExtensions.writeValue  - IE 6
Author: shaydoc
Created: 2012-02-28 10:29:44+00:00
State: open

See Below Fails on IE 6 : ( sorry about the IE 6 thing, in a zone were some users incredibly still have it )

else if (element.tagName == 'SELECT') {
for (var i = element.options.length - 1; i >= 0; i--) {
if (ko.selectExtensions.readValue(element.options[i]) == value) {
element.selectedIndex = i;
break;
}
}

Replace with :
ko.utils.setOptionNodeSelectionState(element.options[i],true);