How to self submit a form through Javascript?

Here is a self submitting form I wrote for a php form. Its simple, clean, and it works flawlessly.

<form id="myform" action="Recap" method="post">
<input name="invoicevalue" type="hidden" value="${preRecapBean.invoiceAmount}" />
<script type="text/JavaScript" language="JavaScript">  

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>