Reputation: 10850
How can I modify the default values of options for the $.ajax()
function?
Ideally to do something similar to:
//set ajax async to false
$(someSelector).load(url, data, function(){});
//set ajax async to true
to allow me to carry out .post()
synchronously.
Upvotes: 12
Views: 19119