I don't understand what you want.Do you want to know what these two properties are in this ajax?
Async, which defaults to true, is asynchronous.
Cache property is true: after the first request, if the address and parameters do not change, the second request will default to the cache data, not to read the latest data server,
When the cache property is flase: the latest data is read each time.
Note: Setting cache to false will only work correctly with HEAD and GET requests.
More details about how to use jquery ajax property, you could refer to this link:
If I misunderstand your requirement, please post more details information about your requirement.
Best Regard,
Sam
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
Member
177 Points
629 Posts
Properties of $ajax in ASP MVC
Apr 28, 2019 03:42 AM|neoaguil17|LINK
Hi
I consume the following post function...
I would like to know... How can I know the value of some properties such as: async and cache..
Contributor
3370 Points
1409 Posts
Re: Properties of $ajax in ASP MVC
Apr 29, 2019 03:10 AM|samwu|LINK
Hi neoaguil17,
I don't understand what you want.Do you want to know what these two properties are in this ajax?
Async, which defaults to true, is asynchronous.
Cache property is true: after the first request, if the address and parameters do not change, the second request will default to the cache data, not to read the latest data server,
When the cache property is flase: the latest data is read each time.
Note: Setting cache to false will only work correctly with HEAD and GET requests.
More details about how to use jquery ajax property, you could refer to this link:
https://api.jquery.com/jQuery.ajax/
If I misunderstand your requirement, please post more details information about your requirement.
Best Regard,
Sam