/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$(".myBox").click(function(){ window.location=$(this).find("a").attr("href"); return false; });
URL: http://css-tricks.com/snippets/jquery/make-entire-div-clickable/