Reputation: 175
I am working with e-commerce site, where user can navigate using filters like category, then subcategory, then Brand and finally product. so the process flow is
product.php?catid=1&subcatid=11&brandid=12&prodid=111
Now the problem is, when I am clicking on Back button of browser, it asks for confirm form re-submission. But what I want is, it should directly go to Brand filter. I mean to
product.php?catid=1&subcatid=11&brandid=12
Any kind of help is really appreciated.
Upvotes: 0
Views: 128
Reputation: 446
there are to ways to solve this question...
using GET instead of POST method...
using Ajax..
Upvotes: 0
Reputation: 964
Avoid the form submission using POST method rather use the GET method. Use one of the following method if POST method is necessary.
Upvotes: 2