I would like all dropdowns, text boxes and other items on a product detail page to be cleared out after a user adds the product to their cart. Right now, it displays a dynamic notification that the item was added and does not redirect to the shopping cart page, as intended.
If I were to navigate off the product details page and then return back, then all the pre-selected items and text is cleared. I'd like to achieve that same effect without leaving the page and, ideally, via Ajax instead of a hard refresh.
Is there a way to reset the values via ajax without having to do a hard page refresh on the product details?