Detect onkeyup keycode 13 (enter) - SOLVED


I’m trying to detect some pressed keys in my project. Mostly it works, but keys like Enter, Backspace, Esc don’t work. I’m using Exeoutput 1.7. I read this topic Pressing of Enter button can’t be detected (SOLVED) , but this is for HTML Executable. I need this for PHP.

Thanks for help,

Hours and hours searching and trying i found this working script:

	var keycode = (event.keyCode ? event.keyCode : event.which);
	if(keycode == '13'){
		alert('You pressed a "enter" key in somewhere');