Cart updating with Ajax

For my design and the user experience I want to update my cart with ajax. Is it possible? And if yes, how can I achieve this?
What the User should do: click the button “Add to Cart” and just the snippet with the cart updates.
Thanks in advance!

It is possible to use AJAX. The suggested way is to progressively enhance the form you’re looking to post via ajax, so non-js users still get the proper behaviour.

When you’ve got it posting via ajax, you might notice that SimpleCart doesn’t return a structured response, it just redirects the request to the cart page again. Unfortunately I don’t think there’s a way around that presently, so you might need to refresh the page after the ajax submit is complete to have the cart show as updated.