Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$.ajax(...).success is not a function #3239

Closed
AdamHess opened this issue Jul 19, 2016 · 2 comments
Closed

$.ajax(...).success is not a function #3239

AdamHess opened this issue Jul 19, 2016 · 2 comments

Comments

@AdamHess
Copy link

Description

Upgrading from jQuery 2->3 $.ajax.success no longer works (or is not well documented that it's a breaking change)

Example

$.ajax("/SomeResource")
  .success(function (data) {
    //do stuff here. 
  });
@Florian-R
Copy link

See http://api.jquery.com/jQuery.ajax/

Deprecation Notice: The jqXHR.success(), jqXHR.error(), and jqXHR.complete() callbacks are removed as of jQuery 3.0. You can use jqXHR.done(), jqXHR.fail(), and jqXHR.always() instead.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants