O.K. If I wanna use a gif image to be a submit button, what is the HTML code I would use? Instead of <input type="button">
David
3:20 pm on Aug 17, 2001 (gmt 0)
This should work <input type="image" src="" border="0">
circuitjump
3:21 pm on Aug 17, 2001 (gmt 0)
Thanks!
circuitjump
3:29 pm on Aug 17, 2001 (gmt 0)
I don't want it to go to a different page but every time I click it, it goes to a page that does'nt exist. Anyway I'm trying to keep it on the same page but it likes going somewhere else.
Is there anyway to get around this?
David
3:35 pm on Aug 17, 2001 (gmt 0)
Don't know I have always used it for form submissions never played with it further. The src is your image so when clicked it must be looking for the form action. Perhaps an js onclick to control it.
circuitjump
3:49 pm on Aug 17, 2001 (gmt 0)
Cool, Thanks for the pointers
:)
MikeFoster
9:11 pm on Aug 17, 2001 (gmt 0)
To cancel form submission return false in the onSubmit handler: