Skip to content

Instantly share code, notes, and snippets.

@collin
Created May 21, 2009 04:59
Show Gist options
  • Select an option

  • Save collin/115290 to your computer and use it in GitHub Desktop.

Select an option

Save collin/115290 to your computer and use it in GitHub Desktop.
//Useful Error Handling for dev mode JavaScript
jQuery().ajaxError(function(event, xhr) {
jQuery().html(xhr.responseText);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment