title: jquery 1.4.2 in ie7 adding name attribute as submitName
body: <pre><code>var input = $("&lt;input /&gt;").attr('id', elementId).attr('name', elementName);
  </code></pre>
  
  <p>I am creating input as above and then adding it to parent.</p>
  
  <p>All browsers working ok</p>
  
  <p>but in ie7 there is no name attribute for above input it creates submitName attribute instead.</p>
  
  <p>And jquery validator do not like when there is no name.</p>
  
  <p><strong>Why is it changing name of attribute to submitName from name?</strong></p>