Home
Code Library
Apps & Websites
Woodworking+
Photos & Videos
back to list
Display a popup alert with a variable name when the Esc key is pressed.
The code number below can be replaced with any other key number.
JavaScript
if(event.keyCode==27) { alert(whereami) }
Posted by fbrefere001 on Tuesday November 30, 2004