does that div have an id attribute? if so, $('myDivID').click(function() { do stuff here });
On Fri, Sep 4, 2009 at 10:13 AM, lukas <animod...@gmail.com> wrote: > > I have a <div> that only contains an image. > How would I create a jquery-click function that basically would > represent a normal <a> tag for his <div>? > Thank you! -- I have failed as much as I have succeeded. But I love my life. I love my wife. And I wish you my kind of success.