Category Archives: HTML And JavaScript

How to disable back button of browser and not delete the history?

To disable back button of browser … delete history Put this javascript at the <head> tag     <script type=”text/javascript”>         function setFocus()         {             document.getElementById(“contentPage”).focus();             var URL;             var i;             var QryStrValue;             URL = window.location.href;             … Continue reading

Posted in ASP.NET 3.5 And JavaScript, HTML And JavaScript, JavaScript | Leave a comment