SteveSanderson/knockout — pull request #810 by dgaviola (2013-01-23 20:00:40+00:00)
Title: Issue when binding 'type' on IE8

When binding the 'type' attribute on IE8, I get the error "This command is not supported" when executing code from the 'attr' binding:

element.setAttribute(attrName, attrValue.toString());

Applying this change fix that problem and it keeps working in other browsers (tested Chrome and Firefox).

Let me know if this makes sense. Thanks!