1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Dynamically changing the button

Discussion in 'Web Design, HTML And CSS Forums' started by rag84dec, Feb 4, 2008.

  1. rag84dec

    rag84dec New 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 ....
     
  2. rag84dec

    rag84dec New Member

    i mean button initial will be taken from the database
     
  3. pradeep

    pradeep Team Leader

    Example:
    HTML:
    <img src="a.gif" onClick="this.src='b.gif';"> <!-- For an image -->
    <input type="button" value="Click Me" onClick="this.value='Clicked';">
    
     

Share This Page