onclick submit one of two same form
<p>I included one file (containing a form) two times in php file.I want to submit one form with onclick function.
both forms are same.
i wrote onclick function
document.formname.submit();</p>

<p>I want to do somthing like this
    document.this.form.submit();
please give some solution.</p>
