karthik v

karthik v

  • NA
  • 109
  • 70.7k

How can i disable back button from Child page of a master page

Nov 1 2012 3:24 PM
Hi All

I wanted to disable the back button from a specific child page of the master page as that child page is the  end if the flow that is the confirmation page .Can any one give me ideas of how to implement this on the child page.
I put the following code in the master page and it is doing it for all pages.Need your help guys

<script type="text/javascript">

    window.history.forward();
    function noBack() {
        window.history.forward();
    }
 
      
    </script>


Answers (4)