Dynamically changing the button

rag84dec's Avatar, Join Date: Jul 2007
Go4Expert Member
Hi,
My requirement is to have a button with an initial and onclick it should change to a button with another initial.these button will be taken from a database.
How can i do this??...i am using ASP ....
0
rag84dec's Avatar, Join Date: Jul 2007
Go4Expert Member
i mean button initial will be taken from the database
0
pradeep's Avatar, Join Date: Apr 2005
Team Leader
Example:
Code: HTML
<img src="a.gif" onClick="this.src='b.gif';"> <!-- For an image -->
<input type="button" value="Click Me" onClick="this.value='Clicked';">