看来我无法访问jquery ajax成功函数内的$(this)。请参见下面的代码。
$.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();
}
});
元芳怎么了
慕姐8265434
犯罪嫌疑人X
千巷猫影
随时随地看视频慕课网APP
相关分类