How to post a form variabile by clicking an image submit form
It's possible to post a form variabile by using an image instead of the submit button input?
Yes, it's possible to post or get a form variabile by adding the method attribute to a form that can using an image to submit. This atribute can be get or post for getting or posting this variable.
<form name="Form" method="post" >
<input name="name_input" type="text" /><br />
<a href="javascript:document.Form.submit();"><img height="37" alt="Submit button" width="124" border="0" src="/userfiles/Untitled-1.gif" /></a>
</form>
The diference from a simple submit form to this form is method atributte, that can be post or get for post or get the variabiles.