I have used ajaxSubmit for a very particular requirement. This ajaxSubmit will add products to the Magento shopping cart. Unfortunately even though I use return true; as call back shopping are page shows empty until I manually refresh the page from the browser button.
$('#nothanks').click( function (){
$('#quickbuyform').ajaxSubmit(function(){
return true;
});
});
Tried so many things including windows.location.reload(), nothing works, any help will highly appreciated
Thanx
You can use window.location.reload();
after the ajax call to reload the page.