Disable or Restrict Browser Back Button Using JavaScript in Asp.Net

Disable or Restrict  Browser Back Button

Click Browser Back Button Restrict To Move Last History Page using Javascript Aap.Net.

                      Download Coding

                                        Download

                              DEMO



                        HTML CODING


<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script type="text/javascript">
     
        function NoBackward()
        {
            window.history.forward();
        }
    </script>

</head>
<body>
   
    <form id="form1" runat="server">
    <div>

    </div>
    </form>
</body>
</html>



 First - Create - New - WebForm - Add JavaScript History Backward Code 






0 comments:

Post a Comment