Archive for November, 2008

jQuery DivFlip of MVC Partial

Posted: November 9, 2008 in ASP.Net MVC

So you have a Partial in a div and would like to flip out the html contents with new results from just the partial… To para-phrase Obi-Wan ‘this is the JavaScript you are looking for’: function Save() {   var data = $(‘#PartialData’).serialize();   $.post(‘SavePartial’, data, function(result) {     if (result == “success”) {     $(“#DivFlipThis”).load(“ProductUserControl”); [...]