JoeAtRevolutionUnltd
Programmer
When submitting a form using document.myform.submit, how is the form submitted? I am validating my form using PHP but I'm not getting anything in the $_POST array.
Any ideas?
Any ideas?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<a href="#" onClick="document.myform.submit();"><img src=""></a>
<img src="" onClick="document.myform.submit();">
<input onClick="document.myTicketForm.submit();" type="image" src=""/>
That is pointless. The [tt]image[/tt] button's default behavior is to submit. No need for the JavaScript code.jkjoe said:<input onClick="document.myTicketForm.submit();" type="image" src=""/>