Profile
Achievement
vijayrajesh's Recent SnippetsTagged image
- All /
« Prev 1 Next »
I have made a small jQuery snippet to demo the image swapping with attr() funciton. The demo uses 2 images with classes img1 and img2 respectively. On a click of a button, the images are swapped.
Basically the script stores “src†value into...
0
896
posted 11 years ago by vijayrajesh