Skip to content

Instantly share code, notes, and snippets.

@markelog
Created July 21, 2014 15:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save markelog/7407ac01a054cdbf0cc5 to your computer and use it in GitHub Desktop.
Save markelog/7407ac01a054cdbf0cc5 to your computer and use it in GitHub Desktop.
jQuery.xhr options
$.xhr( "url", {
method: "post",
timeout: 1000,
});
// Same as
$.xhr( "url" ).method( "post" ).timeout( 1000 )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment