In my project I am using below Javascript code history.back(); for gooing back to previous page.(like back arrow on window). This function is working fine on IE and Firefox but not on google crome?
<input type="button" value="Go back" onclick="history.go(-1); return false" />
I get the error bellow
Confirm Form Resubmission
This web page requires data that you entered earlier in order to be properly displayed. You can send this data again, but by doing so you will repeat any action this page previously performed. Press Reload to resend that data and display this page.
Did googling but everybody is suggesting history.go(-1);return false; but it does not work either. Also tried history.back() but that does not help too