title: submitting a form in jquery - not working on firefox
body: <p>Trying to create and submit form within a javascript call. This code works fine on Chrome but doesn't on Firefox and IE. I first get values from Ajax call (JSON) and then submit it as a form</p>
  
  <pre><code>$('&lt;form name="acsform" action="' + JSONobject.formacsurl +'" method="POST"&gt;' + 
    '&lt;input type="hidden" name="PaReq" value="' +JSONobject.formpareq + '"&gt;' +
    '&lt;input type="hidden" name="TermUrl" value="'+ JSONobject.formtermUrl +'"&gt;' + 
    '&lt;input type="hidden" name="MD" value="'+ JSONobject.formmd +'"&gt;' +
    '&lt;/form&gt;').submit();
  </code></pre>
  
  <p>Any ideas?</p>
  
  <p>Just to add... when I alert some text a line below that submission, I get the alert box on the screen. It may seem like browser goes through that code fine (perhaps even submits the form) but I'm  not being redirected to forms <code>action</code> address. I don't get any JS errors either.</p>
  
  <p>Once again, it fails only on Firefox and IE, Chrome does submission plus redirection fine.</p>