-
Notifications
You must be signed in to change notification settings - Fork 20.6k
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
jQuery.get() 4.0 backward compatibility issue #5426
Labels
Comments
The docs don't say that you can use |
Thanks for the issue and thanks for pointing that out, Dave. We'll mention it in the upgrade guide. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The jQuery api describes jQuery.get as: jQuery.get( url [, data ] [, success ] [, dataType ] )].
In jQuery 3.5.7 this code, with null for the data parameter, works:
In jQuery 4.0 this code doesn't work anymore, you have to remove the null parameter:
A small change, but this breaks backward compatibility.
The text was updated successfully, but these errors were encountered: