Change Image Source using JQuery
- by Sachin Gaur
I have few images and their rollover images. I want to show/hide the rollover image when onmousemove/onmouseout event using JQuery. All my images name follow the same pattern, like this:
Original Image: Image.gif
Rollover Image: Imageover.gif
I want to insert and remove the "over" portion of image source in onmouseover and onmouseout event respectively.
How can I do it using JQuery?