In jQuery, how can I access $(this) from an $.ajax callback function?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2643798/how-to-access-the-this-inside-ajax-success-callback-function">how to access the $(this) inside ajax success callback function</a>  </p>
</blockquote>



<p>I have a code like this:</p>

<pre><code>$('.each_button').click(function(){

$.ajax({ type: 'POST', url: process.php, data: data, success: function(data){

/////
       }
   })
});
</code></pre>

<p>How can I access the very <code>$('.each_button')</code> that triggered the event? I tried <code>$(this)</code> but it doesn't work, probably because it's inside of another function..</p>

<p>Thanks a lot in advance.</p>
