Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Web Design, HTML And CSS Forums (http://www.go4expert.com/forums/web-design-forum/)
-   -   Dynamically changing the button (http://www.go4expert.com/forums/dynamically-changing-button-t8641/)

rag84dec 4Feb2008 13:30

Dynamically changing the button
 
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 ....

rag84dec 4Feb2008 13:33

Re: Dynamically changing the button
 
i mean button initial will be taken from the database

pradeep 4Feb2008 21:33

Re: Dynamically changing the button
 
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';">



All times are GMT +5.5. The time now is 16:47.