My DOM looks like this:
<div id="d1">
<div class="c1">
<a href="#"><img src="img1_on.gif"></a>
<a href="#"><img src="img2_on.gif"></a>
</div>
</div>
When someone clicks on an image, I want the image src to change to <img src="imgx_off.gif">
where x
represents the image number 1 or 2.
Is this possible or do I have to use CSS to change the images?
19th July, 2016 15:39 PM
, Question Upvotes Count 369 And @jonstjohn Answer Upvotes Count 931. But, Such A Bad Luck, @OP Didn't Logged In AfterFeb 17 '09 at 2:57
.:(
And, @jonstjohn Answer Remain Unmarked. – Nana Partykar