change default submit button on html forms

JavaScript and client side scripting.

Moderator: General Moderators

change default submit button on html forms

Postby aceconcepts » Thu Sep 28, 2006 7:38 pm

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
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 12:26 pm
Location: London

Postby wtf » Thu Sep 28, 2006 7:40 pm

Syntax: [ Download ] [ Hide ]
<input type="image" src="path/to/image.gif" />

or CSS
User avatar
Forum Contributor
Posts: 331
Joined: Thu Nov 03, 2005 6:27 pm

Return to Javascript

Who is online

Users browsing this forum: Google [Bot] and 1 guest