
July 4th, 2000, 03:59 PM
|
|
Junior Member
|
|
Join Date: Jul 2000
Posts: 4
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Hi! You can simply place image as submit button before the end of form end tag.
<input type="image" src="filename.gif">
This will act as submit button and take you to the header action in the form. you can modify you header if you need by placing another function call in onSubmit.
Try this first.
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by puq:
Howdy all...
I'm using a form on a site, and one of the submit buttons calls a javascript function such as:
<input type=button name=submit_button onClick="function();">
My question is, I would like to change the image of this button. I've tried:
<input type=image src=images/picture name=submit_button onClick="function();">
This however doesn't seem to do the trick, without the type=button. If anyone can steer me in the right direction, or give me any help, I would be forever greatful...
Thanks[/quote]
[This message has been edited by marina (edited July 04, 2000).]
|