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
Ok here is what I did,
This is my JQuery submit,
});
The real issue was $(‘#nothanks’) was the Id of the image “Add to Cart”, so that the return false rellay didnt work. it has to be the id of the href tag. like below…
Problem solved!!
Thanx everyone for your support