Free web hosting music - KBD object (Object/HTML) An object representing content to

KBD object (Object/HTML) An object representing content to be displayed as if typed on the keyboard. Availability: DOM level 1 JavaScript 1.5 JScript 3.0 Internet Explorer 4.0 Netscape 6.0 Inherits from: Element object IE myKBD = myDocument.all.anElementID IE myKBD = myDocument.all.tags(”KBD”)[anIndex] IE myKBD = myDocument.all[aName] -myKBD = myDocument.getElementById(anElementID) -myKBD = myDocument.getElementsByName(aName)[anIndex] JavaScript syntax: -myKBD = myDocument.getElementsByTagName(”KBD”)[anIndex] HTML syntax: anElementID The ID attribute of the element required anIndex A reference to an element in a collection Argument list: aName An associative array reference Event handlers: onClick, onDblClick, onDragStart, onFilterChange, onHelp, onKeyDown, onKeyPress, onKeyUp, onMouseDown, onMouseMove, onMouseOut, onMouseOver, onMouseUp, onSelectStart The appearance of the content described by this object is likely to look similar to that enclosed in ,

or
 tags.   See also:  Element object, LISTING object, PRE object

Leave a Reply