1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Dynamically changing the button

Discussion in 'Web Design, HTML And CSS' 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