title: Object #<XMLHttpRequest> has no method 'done'
body: <p>I was trying to implement simple ajax GET request . In the callback portion i want to call some function . The code is as below</p>
  
  <pre><code>$.ajax({
            url: "&lt;?php echo SITE_URL?&gt;ajax_pages/ajx_getcard.php?id="+obj.value,
            context: document.body
          }).done(function() { 
            $(this).addClass("done");
          });
  </code></pre>
  
  <p>But it is showing exception </p>
  
  <p>Uncaught TypeError: Object # has no method 'done' replace_entry.php:105
  getCardno replace_entry.php:105
  onblur replace_entry.php:118</p>
  
  <p>I am using google chrome </p>