pmcmicha
Technical User
- May 25, 2000
- 353
I have the following code which works without any problem:
<input type="button" name="Submit" value=Submit" onClick="go()">
The user comes to the website, selects two options from the drop down menus and then clicks on submit. Submit then takes those options and passes it to the 'go' function.
Now I would like to use an image in place of the default button, so I have this code, but it does not work:
<input type="image" src="../Images/submit.gif" name="Submit" value="Submit" onClick="go()">
The only response I got back was the page putting the selected information in the URL section since I had not defined the method type in the form tag.
Everything I have looked at, seems to indicate that I am not missing anything or doing anything wrong. Could someone shed some light on this problem?
Thanks in advance.
<input type="button" name="Submit" value=Submit" onClick="go()">
The user comes to the website, selects two options from the drop down menus and then clicks on submit. Submit then takes those options and passes it to the 'go' function.
Now I would like to use an image in place of the default button, so I have this code, but it does not work:
<input type="image" src="../Images/submit.gif" name="Submit" value="Submit" onClick="go()">
The only response I got back was the page putting the selected information in the URL section since I had not defined the method type in the form tag.
Everything I have looked at, seems to indicate that I am not missing anything or doing anything wrong. Could someone shed some light on this problem?
Thanks in advance.