grayscaling images and refering the original image back.
- by dilip
I know how to grayscale an image. I am using jquery accordion and I have images on every accordion header. I want to change the image to grayscale when the accordion is active and change the image back to its original form when the accordion is not active. I am using the event accordionChange. The problem is that I am not able to save the original image. Please help. Also after grayscaling I tried to give the original src directly as
document.getElementById("imgId").src = "images/pic.jpg";
This is not working.