Update A Part Of Page Only When There Are No Mouse Events
as my last question I received many Useful replies, if I want update instead a whole page only a portion of it (id='#colorbox') modifying the Rory McCrossan code : https://stack
Solution 1:
Use Ajax and bind the return data to a div with that color code
$('#divwiththatColor').html(result);
The return can be anything including a partial view
Solution 2:
You can try this, If I understand your problem correctly:
$.get(window.location.href, function(page) {
$('#colorbox').replaceWith($(page).find('#colorbox'));
});
Post a Comment for "Update A Part Of Page Only When There Are No Mouse Events"