title: Odd behavior of my jQuery shorthand "$.get()" ajax method and its callback function
body: <p>I have the following jQuery script:</p>
  
  <pre><code>$(document).ready(function() {
      $("#resendActivationEmailLink").bind("click", function(event) {
          $.get($(this).attr("href"), function() {
              $("#emailNotActivated").html("&lt;span&gt;not yet activated. email sent!&lt;/span&gt;");
          });
          event.preventDefault();
          return false;
      });
  });
  </code></pre>
  
  <p>Although the ajax call does work, the callback function of the get() function is not called i.e. this line is not called:</p>
  
  <pre><code>$("#emailNotActivated").html("&lt;span&gt;not yet activated. email sent!&lt;/span&gt;");
  </code></pre>
  
  <p>Can anyone please help?</p>
  
  <p><strong>EDIT</strong>:
  Request object from ajaxError:</p>
  
  <pre><code>Object {readyState: 4, setRequestHeader: function, getAllResponseHeaders: function, getResponseHeader: function, overrideMimeType: function…}
  abort: function ( statusText ) {
  always: function () {
  complete: function () {
  done: function () {
  error: function () {
  fail: function () {
  getAllResponseHeaders: function () {
  getResponseHeader: function ( key ) {
  overrideMimeType: function ( type ) {
  pipe: function ( /* fnDone, fnFail, fnProgress */ ) {
  progress: function () {
  promise: function ( obj ) {
  readyState: 4
  responseText: "dummy"
  setRequestHeader: function ( name, value ) {
  state: function () {
  status: 200
  statusCode: function ( map ) {
  statusText: "OK"
  success: function () {
  then: function ( /* fnDone, fnFail, fnProgress */ ) {
  __proto__: Object
  </code></pre>
  
  <p>EDIT 2:
  Output from: <code>console.log($(this).attr('href'));</code></p>
  
  <pre><code>/bignibou/resendActivationEmail/235617cb-c19c-4694-ab9e-753e5d7QQde07 
  </code></pre>