'accessKey' Example : accessKey « Javascript Properties « JavaScript Reference
- JavaScript Reference
- Javascript Properties
- accessKey
'accessKey' Example
<html>
<body>
<input type="text"
size="40"
id="myButton"
accesskey="Z"
value="Press Alt + Z to bring me into focus">
<button onclick="myButton.accessKey='N';">Change Access Key to N</button>
</body>
</html>
Related examples in the same category