Is history.go(-1);
consistent across all browsers? I've noticed different behaviors on various browsers.
In my code, I have a line similar to javascript:history.go(-1);
On the first page, there are three checkboxes. Users can only select two of them. If I select all three and click submit, on the next page I use javascript:history.go(-1); with a button displaying an error message stating that only two options are allowed. In Safari, when I return to the first page, all three checkboxes are still selected, but in Firefox only two remain selected. Chrome displays a Confirm Form Resubmission message when refreshing the page.