title: Getting "SCRIPT438: Object doesn't support this property or method " error on IE 10
body: <p>I have a javascript method to change the form action and submit afterwards.</p>
  
  <pre><code>$(document).on('click','#q7', function(event) {
      event.preventDefault();
      document.forms[0].action = "questionnaireQ7AvenantsAction.do?method=rechercheQuestion&amp;typeQ=q7&amp;modeQ=display";
      document.forms[0].submit();
  });
  </code></pre>
  
  <p>Above code is working fine in all the browsers Except IE. I am using IE 10.
  I am getting error on this line:</p>
  
  <pre><code>document.forms[0].action = "questionnaireQ7AvenantsAction.do?method=rechercheQuestion&amp;typeQ=q7&amp;modeQ=display";` 
  </code></pre>
  
  <p>The error is </p>
  
  <blockquote>
    <p>SCRIPT438: Object doesn't support this property or method</p>
  </blockquote>
  
  <p>Any help would be appreciated as I have been stuck on this problem for the last 2 days.</p>