|
Subject:
|
image as button
|
|
Posted By:
|
hosefo81
|
Post Date:
|
2/11/2004 10:58:08 AM
|
i have a submit button with the following code. <input type="submit" name="btnadd" value="Add">
However, now i want to use an image as a button. How am i going to code it?
|
|
Reply By:
|
joefawcett
|
Reply Date:
|
2/11/2004 11:03:58 AM
|
If you want to use an image as a submit button then use an input of type image. For a normal button image, i.e. one that runs code when clicked have a normal img element with an onclick set to run a function.
--
Joe
|
|
Reply By:
|
larry
|
Reply Date:
|
2/11/2004 2:55:12 PM
|
Ex:
<INPUT TYPE="image" src="yourSubmitButtonHere.gif" border=0>
|