title: IE Issue: Submitting form to an iframe using javascript
body: <p>I was trying to create an iframe element using javascript, like so:</p>
  
  <pre><code>var iframe = document.createElement('iframe');
  iframe.setAttribute('name', 'frame_x');
  </code></pre>
  
  <p>However, when I tried submitting a form using the newly-created iframe as target, IE opens up a new window, instead of using the iframe. </p>
  
  <pre><code>form.setAttribute('target', 'frame_x');
  form.submit();
  </code></pre>
  
  <p>This works perfectly in Firefox. Also, the iframe gets created, but is not used.</p>