Welcome to WebmasterWorld Guest from 54.225.36.143

Forum Moderators: incrediBILL

Message Too Old, No Replies

<input type>

     
3:13 pm on Aug 17, 2001 (gmt 0)

Preferred Member

10+ Year Member

joined:May 3, 2001
posts:365
votes: 0


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">
3:20 pm on Aug 17, 2001 (gmt 0)

Preferred Member

10+ Year Member

joined:Oct 26, 2000
posts:414
votes: 0


This should work
<input type="image" src="" border="0">
3:21 pm on Aug 17, 2001 (gmt 0)

Preferred Member

10+ Year Member

joined:May 3, 2001
posts:365
votes: 0


Thanks!
3:29 pm on Aug 17, 2001 (gmt 0)

Preferred Member

10+ Year Member

joined:May 3, 2001
posts:365
votes: 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)

Preferred Member

10+ Year Member

joined:Oct 26, 2000
posts:414
votes: 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)

Preferred Member

10+ Year Member

joined:May 3, 2001
posts:365
votes: 0


Cool,
Thanks for the pointers

:)

9:11 pm on Aug 17, 2001 (gmt 0)

Junior Member

10+ Year Member

joined:July 20, 2001
posts:137
votes: 0


To cancel form submission return false in the onSubmit handler:

<form onsubmit="return false">

...

</form>

4:45 pm on Aug 20, 2001 (gmt 0)

Preferred Member

10+ Year Member

joined:May 3, 2001
posts:365
votes: 0


Great, Thanks :)
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members