I'm feeling so dumb asking this question, but I can't figure out a clean way to write this...
Heres the HTML
<li>
<a class='link_parent' href='#'>Test</a>
</li>
I want the click function of the parent LI to redirect the href of the a with .link_parent...
so...
$('a.link_parent').each(function() {
$(this).parent().click(function() {
// Need to access $(this).attr('href') of the above object
// but can't since $(this) is now the <li> object
// help!
});
});