title: Reading form action property in IE6, if form has a field named "action"
body: <p>Given the <code>form</code> below:</p>
  
  <pre><code>&lt;form id="myForm" action="index.php"&gt;
      &lt;input type="hidden" name="action" value="list" /&gt;
      &lt;input type="submit" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>How can I get the value for the <code>action</code> property of the form (<em>index.php</em>) using IE6?</p>
  
  <p>Hint: I have tried</p>
  
  <pre><code>document.getElementById('myForm').action
  </code></pre>
  
  <p>and</p>
  
  <pre><code>document.getElementById('myForm').getAttribute('action')
  </code></pre>
  
  <p>But neither of them work. They both return the <code>input</code> field (<code>document.getElementById('myForm').action.value == 'list'</code>).</p>