The Magento Cart is not updated during POST via ajaxSubmit JQuery


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 (){
            return true;

Tried so many things including windows.location.reload(), nothing works, any help will highly appreciated


You can use window.location.reload(); after the ajax call to reload the page.