title: how to access the $(this) inside ajax success callback function
body: <p>It seems that i cannot access $(this) inside jquery ajax success function. please see below code.</p>
  <pre><code> $.ajax({
     type: 'post',
     url: '&lt;?php echo site_url('user/accept_deny_friendship_request')?&gt;',
     data: 'action='+$action+'&amp;user_id='+$user_id,
     success: function(response){
       //cannot access $(this) here $(this).parent().remove();
     }
   });
  </code></pre>