似乎我不能访问$(this)里面的jquery ajax成功
函数。请看下面的
代码。
$.ajax({
type: 'post',url: '<?PHP echo site_url('user/accept_deny_friendship_request')?>',data: 'action='+$action+'&user_id='+$user_id,success: function(response){
//cannot access $(this) here $(this).parent().remove();
}
});