Hi all
i am working on a site
in which user need to be in same page
when the user clicks on back button
Its working in IE, Chrome but not in firefox
in firefox when i click on the back button though i have embedded the script
its not working
can anyone please let me know the solution
here i am forwarding the script function for back button functionality
which i have called using body onload
JAVA SCRIPT FUNCTION :-
-----------------------------------------
Thanks in advance
waiting for your valuable reply
i am working on a site
in which user need to be in same page
when the user clicks on back button
Its working in IE, Chrome but not in firefox
in firefox when i click on the back button though i have embedded the script
its not working
can anyone please let me know the solution
here i am forwarding the script function for back button functionality
which i have called using body onload
JAVA SCRIPT FUNCTION :-
-----------------------------------------
Code:
function DisablingBackFunctionality() { var URL; var i ; var QryStrValue; URL=window.location.href ; i=URL.indexOf("?"); QryStrValue=URL.substring(i+1); if (QryStrValue!='X') { window.location=URL + "?X"; } }
Thanks in advance
waiting for your valuable reply
Comment