and don't forget to add the css "cursor: pointer" to make the user's mouse cursor look like a link
On Sep 4, 1:15 pm, Charlie Griefer <charlie.grie...@gmail.com> wrote: > 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.