Monday 31 December 2012

Back button


This code will not work if javascript is disabled,but most of the browsers supports javascript.

1. Write this script
  <script language="javascript" type="text/javascript">
    function Back()
    {
        history.go(-1);
        return false;
    }

  </script>


2. Now in Button click

//<input type="submit" name="btnEdit" value="Back" onclick="return Back();" id="btnEdit" class="buttonstyle" />///

No comments:

Post a Comment

If any doubt?then please comment in my post

How to reduce angular CLI build time

 Index: ----- I am using angular cli - 7 and I am going to tell how to reduce the build time as per my knowledge. Problem: -------- Now the ...