Key capture in webMethods

Solution -


document.observe('keydown', function(event){
	if(event.keyCode === 8) {
		console.log("***********************CODE " + event.keyCode);
	 	//backspace = true;
    } 
});

My goal is to prevent users being navigated away from the page on pressing the backspace key

Hi Mike,

Is there anything you are asking or you just wanted t share your solution with us?

Regards,
Vlad Turian