I have a big image and several small thumbnails. Every time the user clicks on one of the thumbs, I want the big image to update. This is my code:
$("#thumbs a").click(function() {
		var largePath = $(this).attr("href");
		$("#largeImg").attr(src: largePath);
		return false;
And the HTML:
<ul id="thumbs">
	<li><a href="images/01.jpg"><img src="images/thumbs/01.jpg" /></a></li>
	<li><a href="images/01.jpg"><img src="images/thumbs/02.jpg" /></a></li>
	<li><a href="images/01.jpg"><img src="images/thumbs/03.jpg" /></a></li>
	<img id="largeImg" src="" />
Although, the thumb image gets always displayed in an empty window, as if there is no "return false". If I click Back in the browser, I see that the big image has been indeed changed just before the link executed. Why is my "return false" not firing and preventing the browser from following the link?