How to get function to fire when buttonless form is submitted
<p>I have a page with many forms on it. could be 1..200. None of these forms have buttons and they are built programatically. I am using jquery to submit all the forms that are checked.</p>

<pre><code>   function FakeName()
   {

        $("input:checked").parent("form").submit();

   }
</code></pre>

<p>My forms look like:</p>

<pre><code>    &lt;form name="FakeForm&lt;%=i%&gt;" action="javascript:void%200" onSubmit="processRow(&lt;%=i%&gt;)" method="post" style="margin:0px;"&gt;
      &lt;input type="checkbox" name="FakeNameCheck" value="FakeNameCheck"/&gt;
      &lt;input type="hidden" name="FakeNum" value="&lt;%= FakeNum%&gt;"/&gt;
      &lt;input type="hidden" name="FakeId" value="&lt;%=FakeIdr%&gt;"/&gt;
      &lt;input type="hidden" name="FakeAmt" value="&lt;%=FakeAmount%&gt;"/&gt;
      &lt;input type="hidden" name="FakeTrans" value="FakeTrans"/&gt;
    &lt;/form&gt;
</code></pre>

<p>Note: action is set to "javascript:void%200" so that it posts to a fake page. I want to handle my own posting in processRow.</p>

<p>OnSubmit never gets called and therefore ProcessRow never gets called. </p>

<p>Obviously all the names of the functions and variables have been changed to protect their identity :D</p>

<p>How can I get a function in each form to fire when I call submit programmatically.</p>
