For design reasons, I want to place the submit button on an image that is outside the <form /form> peramaters.
The form that I created works perfectly with the button inside, using this submit command string:
<INPUT TYPE=”image” value=”Submit Form_1″ img alt=”Send Now!” height=37 src=”images/bg_12.gif” width=241>
However, I have been wracking my brain and every web resource that I know of to come up with a way to execute the submit function from an image outside the box. Here is what I have come up with so far:
<input type=”image” onclick=”document.getElementById(‘form_1’).reset()” src=”images/bg_12.gif” alt=”Send Now!” width=241 height=37 img>
I am open to any ideas (either to tweak the above code, or try something new).
Thanks in advance for any help!!