title: Targetting Iframe with Form causes new window to open
body: <p>I am working in chrome v. 12.</p>
  
  <p>I have a jquery call which creates an iframe</p>
  
  <pre><code>$(document).ready(function(){
  
  $('&lt;iframe /&gt;').appendTo('body').attr({'id': 'iframeUploader', 'name':'iframeUploader'}).hide();
  });
  </code></pre>
  
  <p>when I use a form to upload, chrome opens a new window instead of targetting the iframe</p>
  
  <pre><code>&lt;form id="form1" name="form1" enctype="multipart/form-data" method="post" action="upload.php?productID=1074" target="iframeUploader"&gt;
  </code></pre>
  
  <p>Can anyone spot what I am doing wrong? I'm pulling my hair out!</p>
  
  <p>Thanks!</p>