HTMLLabelElement.accessKey
JavaScript 1.5+, JScript 5+
Nav6+, IE5+
Syntax
htmlLabelObj.accessKey
Description
The accessKey
property of the HTMLLabelElement
object is a single character access key to give access to the form control.
Example
Listing 11.189 illustrates the creation of an HTMLLabelElement
using the HTMLBodyElement
object and then setting its accessKey
property.
<html><script language="JavaScript" type="text/javascript"><!--var labelObj = formObj.createElement("label");labelObj.accessKey = "L"; // --></html>
HTMLLabelElement.form
JavaScript 1.5+, JScript 5+
Nav6+, IE5
Syntax
htmlLabelObj.form
Description
The form
property of the HTMLLabelElement ...
Get Pure JavaScript, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.