JavaScript Programmer’s Reference (Web hosting compare) IE myCAPTION = myDocument.all.anElementID IE

JavaScript Programmer’s Reference IE myCAPTION = myDocument.all.anElementID IE myCAPTION = myDocument.all.tags(”CAPTION”)[anIndex] IE myCAPTION = myDocument.all[aName] -myCAPTION = myDocument.getElementById(anElementID) -myCAPTION = myDocument.getElementsByName(aName)[anIndex] JavaScript syntax: -myCAPTION = myDocument.getElementsByTagName(”CAPTION”) [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 properties: align, vAlign, align, vAlign Event handlers: onAfterUpdate, onBeforeUpdate, onBlur, onChange, onClick, onDblClick, onDragStart, onErrorUpdate, onFilterChange, onFocus, onHelp, onKeyDown, onKeyPress, onKeyUp, onMouseDown, onMouseMove, onMouseOut, onMouseOver, onMouseUp, onScroll, onSelect, onSelectStart The caption forms an integral part of the table to which it belongs. It needs to be defined inside the

tags. The DOM level 1 standard describes these objects as TableCaptionElement objects. See also: Element object, style.captionSide, TABLE object, TABLE.caption, TABLE.createCaption(), TABLE.deleteCaption() Property JavaScript JScript N IE Opera DOM HTML Notes align 1.5 + 3.0 + 6.0 + 4.0 + 1 + Warning, Deprecated vAlign 3.0 + 4.0 + Warning, Deprecated align 1.5 + 3.0 + 6.0 + 4.0 + 1 + Warning, Deprecated vAlign 3.0 + 4.0 + Warning, Deprecated Event name JavaScript JScript N IE Opera DOM HTML Notes onAfterUpdate 3.0 + 4.0 + - onBeforeUpdate 3.0 + 4.0 + - onBlur 1.5 + 3.0 + 6.0 + 4.0 + 3.0 + Warning onChange 1.5 + 3.0 + 6.0 + 4.0 + 3.0 + - onClick 1.5 + 3.0 + 6.0 + 4.0 + 3.0 + 4.0 + Warning onDblClick 1.5 + 3.0 + 6.0 + 4.0 + 3.0 + 4.0 + Warning Table continued on following page

Leave a Reply