The GET request will be attached to the URL. If it is not a string, it will automatically convert it to a string Set to False will not load the request information from the browser cache.ĭata: The parameters of Object or String are required to send data to the server. The request can be completed before it can be executed.Ĭache: The parameter of BOOLEAN type is required, and the default is True (when Datatype is script, the default is false). Note that the synchronous request will lock the browser, and other operations must wait If you need to send a synchronous request, set this option to false. ajaxSetup () methodĪsync: The parameter of BOOLEAN type is required, and the default settings are TRUE, and all requests are asynchronous requests. This setting will cover the global setting of $. Timeout: Requires parameters of Number, set the request timeout time (millisecond). Pay attention to other HTTP request methods, such as PUT andĭelete can also be used, but only some browsers are supported. Type: Requires a parameter of String, and the request method (post or get) defaults to get.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |