官方文档给出:
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.
即type和method是一样。只不过是1.9.0版本出的method
估计是让程序员更好记,更符合习惯吧。(个人也是认为method更好记)
官方文档给出:
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.
即type和method是一样。只不过是1.9.0版本出的method
估计是让程序员更好记,更符合习惯吧。(个人也是认为method更好记)