Posts Tagged ‘jQuery’

ASP.NET MVC 3: Ajax Form with jQuery validate supporting (unobtrusive) Client Side Validation and Server Side Validation

Update 2011-08-07: I’ve written a new follow-up blog post to this one which shows how to upgrade the techniques described here with custom (jQuery) JavaScript code to implement a more flexible Ajax form handling. This blog post shows step by step instructions how to build an Ajax form with jQuery validate supporting (unobtrusive) client and […]

Read more…

jQuery: Disable (browser) cache for all AJAX requests

Here is a small JavaScript code snippet that uses jQuery’s .ajax() function to disable the (client side browser) cache for all subsequent jQuery AJAX calls (note that caching is enabled by default for all data types except script and jsonp): $.ajaxSetup({ cache: false });$.ajaxSetup({ cache: false }); To enable caching for a special AJAX request […]

Read more…