This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Disable Key in JavaScript</title> | |
<script> | |
function noenter(e) { | |
//1. window is an object that represents an open window in a browser. | |
//2. event is an action that can be detected by javascript. | |
//Sometimes we want to execute a JavaScript when an event |