Hi all, I’ve got a script which will enable an entire div to be clickable, however when I click on the div it opens the URL twice.. Could someone please help me out? (sorry if this is a double post, I don't think my first one went through..?)
The code is: $(".rightContent").click(function(){ window.open($(this).find("a").attr("href")); return false; }); And here’s the div: <div class="rightContent"> <h3>Google</h3> <div style="margin-top: 5px;"><a href="http:// www.google.com/">http://www.google.com/</a></div> <div style="margin-top: 5px;">info goes here</div> </div> Cheers Leanne