Answer the question
In order to leave comments, you need to log in
Difference between method and type?
Good afternoon. I always used type post or get in Ajax, but I saw some in the documentation for 2016 that they write method. For me, it makes no difference that this and that serves as an indicator through which method we transfer data through post or get requests. If I'm wrong, explain the difference
Answer the question
In order to leave comments, you need to log in
type (default: 'GET')
Type: String
An alias for method . You should use type if you're using versions of jQuery prior to 1.9.0.
Judging by the documentation, this is the same method, only with a different name, and it is desirable to use it with jQuery <= 1.9 version
type (default: 'GET')
Type: String
An alias for method. You should use type if you're using versions of jQuery prior to 1.9.0.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question