JavaScript Programmer’s Reference IE myCENTER = myDocument.all.anElementID IE myCENTER = myDocument.all.tags(”CENTER”)[anIndex] IE myCENTER = myDocument.all[aName] -myCENTER = myDocument.getElementById(anElementID) -myCENTER = myDocument.getElementsByName(aName)[anIndex] JavaScript syntax: -myCENTER = myDocument.getElementsByTagName (”CENTER”)[anIndex] HTML syntax:
… anIndex A valid reference to an item in the collection aName The nameattribute of an element Argument list: anElementID The ID attribute of an element Object methods: removeAttribute() Event handlers: onClick, onDblClick, onDragStart, onFilterChange, onHelp, onKeyDown, onKeyPress, onKeyUp, onMouseDown, onMouseMove, onMouseOut, onMouseOver, onMouseUp, onSelectStart Method JavaScript JScript N IE Opera DOM HTML Notes removeAttribute(0 3.0 + 4.0 + - Event name JavaScript JScript N IE Opera DOM HTML Notes onClick -3.0 + -4.0 + 3.0 + 4.0 + Warning onDblClick -3.0 + -4.0 + 3.0 + 4.0 + Warning onDragStart 3.0 + 4.0 + - onFilterChange 3.0 + 4.0 + - onHelp 3.0 + 4.0 + Warning onKeyDown -3.0 + -4.0 + 3.0 + 4.0 + Warning onKeyPress -3.0 + -4.0 + 3.0 + 4.0 + Warning onKeyUp -3.0 + -4.0 + 3.0 + 4.0 + Warning onMouseDown -3.0 + -4.0 + 3.0 + 4.0 + Warning onMouseMove -3.0 + -4.0 + 4.0 + Warning onMouseOut -3.0 + -4.0 + 3.0 + 4.0 + Warning onMouseOver -3.0 + -4.0 + 3.0 + 4.0 + Warning onMouseUp -3.0 + -4.0 + 3.0 + 4.0 + Warning onSelectStart 3.0 + 4.0 + - Inheritance chain: Element object, Node object
This entry was posted
on Wednesday, November 28th, 2007 at 12:21 am and is filed under Coldfusion.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.