title: How to submit an HTML form on loading the page?
body: <p>How to submit this form without using submit button. I want to submit it in loading this form,</p>
  
  <pre><code>&lt;form name="frm1" id="frm1" action="../somePage" method="post"&gt;
      Please Waite...
      &lt;input type="hidden" name="uname" id="uname" value="&lt;?php echo $uname;?&gt;" /&gt;
      &lt;input type="hidden" name="price" id="price" value="&lt;?php echo $price;?&gt;" /&gt;
  &lt;/form&gt;
  </code></pre>