Thursday, May 03, 2007

Disable Back Button in the browser

Hi guys,
 
If you want to disable back button in web browser, include the following JavaScript code inside the <head> portion of the HTML,

<script type="text/JavaScript">
     history. forward();
</script>
 
Regards,
Sasikumar



----------------------------------------------------------------DISCLAIMER---------------------------------------------------------
Information transmitted by this EMAIL is proprietary to iGATE Group of Companies and is intended for use only by the individual 
or entity to whom it is addressed and may contain information that is privileged, confidential, or exempt from disclosure under 
applicable law. If you are not the intended recipient of this EMAIL immediately notify the sender at iGATE or mailadmin@igate.com 
and delete this EMAIL including any attachments

No comments: