Free web hosting services - O OBJECT object (Object/HTML) OBJECT object (Object/HTML)
O OBJECT object (Object/HTML) OBJECT object (Object/HTML) This is an object that encapsulates an ActiveX plugin. Do not confuse it with the Object object that is the super-class of all objects in JavaScript. Availability: DOM level 1 JavaScript 1.5 JScript 3.0 Internet Explorer 4.0 Netscape 6.0 Inherits from: Element object IE myOBJECT = myDocument.all.anElementID IE myOBJECT = myDocument.all.tags(”OBJECT”)[anIndex] IE myOBJECT = myDocument.all[aName] -myOBJECT = myDocument.applets[anIndex] -myOBJECT = myDocument.getElementById(anElementID) -myOBJECT = myDocument.getElementsByName (aName)[anIndex] JavaScript syntax: -myOBJECT = myDocument.getElementsByTagName (”OBJECT”)[anIndex] HTML syntax: anIndex A reference to an element in a collection aName An associative array reference Argument list: anElementID The ID value of an Element object Object properties: Event handlers: accessKey, align, altHtml, archive, border, classid, code, codeBase, codeType, data, dataFld, dataSrc, declare, form, height, hspace, name, object, readyState, standby, tabIndex, type, useMap, vspace, width onAfterUpdate, onBeforeUpdate, onBlur, onClick, onDataAvailable, onDataSetChanged, onDataSetComplete, onDblClick, onDragStart, onError, onErrorUpdate, onFilterChange, onFocus, onHelp, onKeyDown, onKeyPress, onKeyUp, onMouseDown, onMouseMove, onMouseOut, onMouseOver, onMouseUp, onReadyStateChange, onRowEnter, onRowExit, onSelectStart This is an object representing an