camokat
06-07-2004, 10:28 AM
I tried posting this in HTML forum, but there are no takers for this.
I have a button form element and I want to paint it as an image:
<input type="button" name="search" value="search" class="btn" onClick="actionListener()">
I want to display image instead of an html button, changing code to:
<input type="image" src="images/search.gif" name="search" value="search" onClick="actionListener()">
does not work. How can I make image behave as button?
thanks,
webtekie
I have a button form element and I want to paint it as an image:
<input type="button" name="search" value="search" class="btn" onClick="actionListener()">
I want to display image instead of an html button, changing code to:
<input type="image" src="images/search.gif" name="search" value="search" onClick="actionListener()">
does not work. How can I make image behave as button?
thanks,
webtekie