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>


Go to topic 9680

Return to index page 951
Return to index page 950
Return to index page 949
Return to index page 948
Return to index page 947
Return to index page 946
Return to index page 945
Return to index page 944
Return to index page 943
Return to index page 942