Tuesday, April 10, 2012

Back and Forward button


<script LANGUAGE="JavaScript">

function  
goHist(a)

{
  history.go(a);
}


</script>

< form
METHOD="post">
< input type="button" value="BACK" onClick="goHist(-1)">
< input type="button" value="FORWARD" onClick="goHist(1)">
< /form>

No comments:

Post a Comment