Skip to content
New issue

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

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

Already on GitHub? # to your account

Add 'method' option #486

Closed
tony-ist opened this issue Sep 2, 2015 · 1 comment
Closed

Add 'method' option #486

tony-ist opened this issue Sep 2, 2015 · 1 comment

Comments

@tony-ist
Copy link

tony-ist commented Sep 2, 2015

In ajaxSubmit there is line:

method = options.type || this.attr2('method');

And what if options has only method and no type specified? According to jquery reference, method is alias for type. Maybe add both?

@kevindb
Copy link
Contributor

kevindb commented Feb 24, 2017

https://api.jquery.com/jQuery.ajax/#jQuery-ajax-settings
jQuery 1.9.0 prefers setting method (values: "GET", "POST", "PUT")
Prior to 1.9.0, must use legacy setting type (same values)

kevindb added a commit that referenced this issue Mar 19, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants