title: IE8 throws "This command is not supported" error when using knockout for data binding using attr type
body: <p>Code:-</p>
  
  <pre><code>&lt;html&gt;
      &lt;head&gt;
      &lt;script type="text/javascript" src="http://knockoutjs.com/downloads/knockout-2.3.0.js"&gt;&lt;/script&gt;
      &lt;/head&gt;
      &lt;body&gt;
      &lt;table&gt;
          &lt;thead&gt;
              &lt;tr&gt;
                  &lt;th&gt;Name&lt;/th&gt;
                  &lt;th&gt;InputType&lt;/th&gt;
              &lt;/tr&gt;
          &lt;/thead&gt;
          &lt;tbody data-bind="foreach: settings"&gt;
              &lt;tr&gt;
                  &lt;td data-bind="text: name"&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;input data-bind="attr: {type: dtype}"/&gt;&lt;/td&gt;
              &lt;/tr&gt;
          &lt;/tbody&gt;
      &lt;/table&gt;
      &lt;script type="text/javascript"&gt;
      var viewModel = function(){
          this.settings = ko.observableArray([{name: "Bungle",dtype:"text"},{name: "George",dtype: "checkbox"},{name: "Zippy",dtype:"text"}]);
      };
  
  ko.applyBindings(new viewModel());
  &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>The above code is also captured in the fiddle <a href="http://jsfiddle.net/uByVQ/" rel="nofollow">http://jsfiddle.net/uByVQ/</a> . While, the scenario captured in the fiddle runs fine in chrome it does not run properly in IE8. I get the error </p>
  
  <p>"This command is not supported". </p>
  
  <p>I am using knockout 2.3</p>
  
  <p>Can anyone point me to a work around? </p>
  
  <p>Thanks.</p>