0

次の関数で要素を選択しようとしています:

  $('.reply-comment').live('click', function(){
if( $(this).parents('.element_footer').find('.reply, .send-reply').is(':hidden') ){
  $(this).parents('.element_footer').find('.reply, .send-reply').slideDown('fast');
}else if( $(this).parents('.element_footer').find('.reply, .send-reply').is(':visible') ){
  $(this).parents('.element_footer').find('.reply, .send-reply').slideUp('fast');
}
return false;

});

後:.find('.reply, .send-reply').slideDown('fast')私は.focus()ちょうど.reply要素にチェーンします

から選択するにはどうすればよい$(this)ですか?

4

1 に答える 1