I'm new to jquery and javascripts but not to programming. I know C and Shell a little bit.
Coming to the point, in my blog I wanted to load some images after user click on a particular button. I googled to get an answer I ended up in the following stackoverflow link.
load an image after clicking a button
I could understand what the script is doing. But can't craft it for my own need.
My need is I have to load 3 different images in 3 distinct places. So, there will be three buttons.
If I click the buttons images are loaded, but If I go for the next button, in all three areas same images is replaced (I know why it's happening but can't prevent it).
How can I craft the script mentioned so that the images are distinct in all areas???
So, crack a tip, I would try to do it on my own.
Thanks in advance.