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

    Joined:
    Jul 17, 2007
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    0
    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

    Joined:
    Jul 17, 2007
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    0
    i mean button initial will be taken from the database
     
  3. pradeep

    pradeep Team Leader

    Joined:
    Apr 4, 2005
    Messages:
    1,646
    Likes Received:
    86
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    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