Course lectures : 1 of 1

Change image on click with jQuery

23rd January 2012

In this tutorial we will learn how to swap the image in the container with on click event using jQuery.

change image on clickjquery tutorialchange image on click with jquerjquery click eventswap image with click


If you'd like to include code example please wrap your code within <pre><code> tags. See example here

function fullName(firstName, lastName)
    return firstName + ' ' + lastName;