title: javascript doesn't work in IE (getElementById)
body: <p>I'm using a form with two submit buttons and JS with 2 functions to use either one. </p>
  
  <pre><code> &lt;form action="" name="submit" id="step_1_form" method="post" accept-charset="UTF-8"&gt;
  ...
  &lt;input type="submit" value="Speichern &amp; zurück" class="backbutton" form="absenden" name="saveandback" onClick="saveandback()" /&gt;
  
  &lt;input type="submit" value="Speichern &amp; Step 2" class="send" form="absenden" name="saveandfurther" onClick="step2()" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>JS</p>
  
  <pre><code>   var form=document.getElementById("step_1_form");
  function step2() {
      form.action="step2.php";
      form.submit();
  }
  function saveandback() {
      form.action="scripts/saveandback.php";
      form.submit();
  }
  </code></pre>
  
  <p>It works in Safari, Chrome and Firefox, but not in IE. May you help me to find out which element makes the problem and maybe how to solve it? That would be very nice. Thank you!</p>