有人可以解释一下为什么要更换以下内容
$('.post_title a').hover(function () {
$(this).parent().parent().parent().parent().find(".post_footer").toggleClass('footer_border')
});
Run Code Online (Sandbox Code Playgroud)
同
$('.post_title a').hover(function () {
$(this).closest(".post_footer").toggleClass('footer_border')
});
Run Code Online (Sandbox Code Playgroud)
不起作用?