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 HTML tag. The tag is a block-level tag. That means that it forces a line break before and after itself. This object is specific to the MSIE browser when it runs on the Windows operating system. No other browser supports ActiveX as well as MSIE and no other operating system properly or completely supports the ActiveX infrastructure. The events handled, and the properties and the methods of this object will depend on the kind of ActiveX object that is created. The DOM level 1 specification refers to this as an ObjectElement object. 1591

Leave a Reply