JavaScript form submit using image input example

The code:
<form name="myform" action="submit-form.ph">
Search: <input type='text' name='query'/>
<input type="image" src="go.gif"/>
</form>

The form created by the code above:

Search:

Note: Use Simfatic Forms to create complete web forms quickly without coding. More Info

Back to Article (more samples and cases):
How To Submit a Form Using JavaScript