This is how it worked for me…
$.ajaxSetup({ cache: false });
$.getJSON("/MyQueryUrl",function(data,item) {
// do stuff with callback data
$.ajaxSetup({ cache: true });
});
More Related Contents:
- How to use getJSON, sending data with post method?
- jQuery.getJSON not working properly in IE8 with gdata json-c. Why? [duplicate]
- Set class validation for dynamic textbox in a table
- How can I convince IE to simply display application/json rather than offer to download it?
- Send JSON data via POST (ajax) and receive json response from Controller (MVC)
- How can I post an array of string to ASP.NET MVC Controller without a form?
- Perform client side validation for custom attribute
- Is it possible to set async:false to $.getJSON call
- grid controls for ASP.NET MVC? [closed]
- load json into variable
- Ajax.BeginForm in MVC to upload files
- The specified value does not conform to the required format yyyy-MM-dd
- How to set cache false for getJSON in jQuery?
- Posting JSON data via jQuery to ASP .NET MVC 4 controller action
- The field date must be a date in mvc in chrome [duplicate]
- Simple ASP.NET MVC CRUD views opening/closing in JavaScript UI dialog
- How to render partial view in MVC5 via ajax call to a controller and return HTML
- Return Partial View and JSON from ASP.NET MVC Action
- Jquery dialog partial view server side validation on Save button click
- jquery with ASP.NET MVC – calling ajax enabled web service
- Validate dynamically added fields
- File upload using MVC 4 with Ajax
- attaching jquery validation to replacement element
- How to export all rows from Datatables using Ajax?
- MS MVC form AJAXifying techniques [closed]
- Usage of the ASP.NET MVC4 jquery/javascript bundles
- Keeping a related ASP.NET application’s session alive from another ASP.NET application
- IE8 and JQuery’s trim()
- access model in javascript asp .net mvc razor
- File upload Jquery WebApi