I have HTML similar to the following: <div class="asdf" id="ghjk"> <a href="#" class="link">red border</a> </div>
Essentially I have a div with a link inside of it. What I want to do is have the div selected when the link is clicked. I need this done without referencing the class/id of the parent div. So far I have: $(".link").click(function () { //somehow select the parent div }); I've looked at 'children' and 'parent' traversing but I can't wrap my head around a solution for this problem. Thanks in advance, you guys are great. -Jason