About a month ago, I received an email from an otherwise happy user of COMPARTMENTS, who wished there was a way to return to the search results after having clicked a protein. I was just about the send her an email explaining how the lack of “back” button functionality was an inherent drawback of using AJAX, when I thought that it would be wise to do a quick Google search first.
The result was a healthy serving of humble pie from Stack Overflow. It turns out that you can make it work fairly easily by using the
So there you have it. AJAX is no excuse for the “back” button not working as it should.