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

Noobs onclick image change :(

Discussion in 'HTML & JavaScript' started by kevingy11, Feb 17, 2012.

  1. kevingy11

    kevingy11 Newbie

    Joined:
    Dec 3, 2010
    Messages:
    32
    Likes Received:
    4
    Hello Guys,
    My question is how can I change image onclick button? I mean I click on button image will be change.... Please tell me this code it :(

    Sorry My English is not good :(
     
  2. orzyman

    orzyman Senior Member

    Joined:
    May 22, 2011
    Messages:
    808
    Likes Received:
    197
    Occupation:
    http://i.imgur.com/0aNSa.gif
    Location:
    in your mind
    yeah nobody understood your question
     
  3. kevingy11

    kevingy11 Newbie

    Joined:
    Dec 3, 2010
    Messages:
    32
    Likes Received:
    4
    ok please tell me onclick function for image change....
     
  4. Amsterdammer

    Amsterdammer Power Member

    Joined:
    Aug 9, 2011
    Messages:
    515
    Likes Received:
    563
    Would this help?

    webdesigncreare.co.uk/blog/javascript-tutorials/change-image-onclick-with-javascript.html
     
    • Thanks Thanks x 1
  5. kevingy11

    kevingy11 Newbie

    Joined:
    Dec 3, 2010
    Messages:
    32
    Likes Received:
    4

    thank you so much I got it :D