Skip to content

Instantly share code, notes, and snippets.

@kevzettler
Created April 28, 2010 14:01
Show Gist options
  • Save kevzettler/382176 to your computer and use it in GitHub Desktop.
Save kevzettler/382176 to your computer and use it in GitHub Desktop.
var xhr = $.ajax({ url : "./"});
xhr._onreadystatechange = xhr.onreadystatechange;
xhr.onreadystatechange = function() {
xhr._onreadystatechange();
if (xhr.readyState == 3){alert('Interactive');}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment