| Welcome to WebmasterWorld Guest from 220.127.116.11 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
| 3:13 pm on Aug 17, 2001 (gmt 0)|
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">
| 3:20 pm on Aug 17, 2001 (gmt 0)|
This should work
<input type="image" src="" border="0">
| 3:21 pm on Aug 17, 2001 (gmt 0)|
| 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?
| 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.
| 3:49 pm on Aug 17, 2001 (gmt 0)|
Thanks for the pointers
| 9:11 pm on Aug 17, 2001 (gmt 0)|
To cancel form submission return false in the onSubmit handler:
<form onsubmit="return false">
| 4:45 pm on Aug 20, 2001 (gmt 0)|
Great, Thanks :)
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved