Posted By

cesgra on 10/26/09


Tagged


Versions (?)

Who likes this?

6 people have marked this snippet as a favorite

cesgra
ruhanirabin
x0nine
artpixler
niceslice
eortiz


Make Entire Div Clickable


 / Published in: jQuery
 

URL: http://css-tricks.com/snippets/jquery/make-entire-div-clickable/

  1. $(".myBox").click(function(){
  2. window.location=$(this).find("a").attr("href");
  3. return false;
  4. });

Report this snippet  

You need to login to post a comment.