title: Button Disable not working in IE 10
body: <p>I have a save button, and initially when few fields are empty, it remains disable. this is working fine in all browsers but not in IE10.  I've tried many things to solve this, but nothing has worked. Any help is appreciated.</p>
  
  <pre><code>var numButtons = document.getElementsByTagName('button').length;
  for ( var num = 0; num &lt; numButtons; num++) {
  
      var buttonName = document.getElementsByTagName('button')[num].innerHTML;
  
      if (buttonName == "Save" &amp;&amp; id == dialogName) {
          document.getElementsByTagName('button')[num].disabled = true;
  
          break;
      }
  }
  </code></pre>