Make parent DIV a clickable link using href from a child anchor

/ Published in: jQuery
Save to your folder(s)

I had a load of divs with 1 link in and I wanted the div to be act as the link.

(add cursor:pointer to the parent Divs css so peeps know they can click it)

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.