using javascript i am able to capture the backspace key and also to disable it but it is not working for the back button on the toolbar. i am new to javascript
have searched a lot but didnt got success.... the code i have written is like this
Expand|Select|Wrap|Line Numbers
- <script language="JavaScript">
- <!--
- window.document.onkeydown = Backkeyhandler;
- function Backkeyhandler() {
- if (window.event && window.event.keyCode == 8) {
- // alert("BackSpace Pressed !!");
- return false;
- }
- }
- //-->
- </script>
could any body please provide me the links or suggestion on how to capture the back button and if it works for IE only then also it is fine for me...