change default submit button on html forms

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

change default submit button on html forms

Post by aceconcepts »

I am using an html form to post input values but i do not want to use the default submit button provided.

Is there anyway of using an image file as the button but still submits the form values?
User avatar
wtf
Forum Contributor
Posts: 331
Joined: Thu Nov 03, 2005 5:27 pm

Post by wtf »

Code: Select all

<input type="image" src="path/to/image.gif" />
or CSS

http://www.cs.tut.fi/~jkorpela/forms/imagebutton.html
Post Reply