/ Published in: JavaScript
Expand |
Embed | Plain Text
$("#thumbs a").click( function() { var changeSrc = $(this).attr("href"); $("#target").attr("src", changeSrc); return false; });
Comments
Subscribe to comments
You need to login to post a comment.

Good script, but you need to read it in its context. Read how to replace images using jquery article to get an understanding of how it all works.