을 HREF로 리디렉션,하지만 난이 작성하는 깨끗한 방법을 알아낼 수 없습니다링크 클릭 기능 내가이 질문을 너무 바보 같은 기분
을 heres HTML
<li>
<a class='link_parent' href='#'>Test</a>
</li>
나는 .link_parent와 a의 HREF ...
정도 ... 리디렉션 부모 LI의 클릭 기능을 원하는
$('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!
});
});