Chapter 5. E

Table of Contents
E-mail containing JavaScript — You can embed JavaScript into e-mail messages composed using HTML.
ECMA — An international standards organization.
ECMAScript — An international standard that describes JavaScript.
ECMAScript - edition 2 — Specific conformance for ECMAScript at its second edition.
ECMAScript - edition 3 — Specific conformance for ECMAScript at its third edition.
ECMAScript version — The version history for ECMAScript.
Element object — A common name for an object that represents an HTML tag or container.
Element.addBehavior() — Attach a behavior to an object in MSIE.
Element.all[] — An array containing references to all elements within this element.
Element.applyElement() — A way of defining an Element object as the child or parent of another element.
Element.attributes[] — A reference to a collection of attribute objects for the HTML tag that the Element object represents.
Element.behaviorUrns[] — A collection of all the behaviors attached to an element (as a set of URN strings).
Element.canHaveChildren — A Boolean flag indicating whether this element may have child Nodes associated with it.
Element.canHaveHTML — A flag property that indicates whether the element can contain HTML.
Element.childNodes[] — A list of object nodes within the DOM that are direct children of the node object that owns this collection.
Element.children[] — The elements that are direct children of this element.
Element.className — The value of the CLASS tag attribute for the HTML tag that represents this element.
Element.clearAttributes() — Clear the attributes from an element object.
Element.click() — Sends a click event to the receiving object to trigger its onclick event handler.
Element.clientHeight — The height in pixels of the object on the client display surface.
Element.clientLeft — The offset in pixels of the object on the client display surface relative to its parent object.
Element.clientTop — The offset in pixels of the object on the client display surface relative to its parent.
Element.clientWidth — The width in pixels of the object on the client display surface.
Element.componentFromPoint() — Determines what object is under a particular pixel coordinate in the window.
Element.contains() — A test to see if the element contains another element.
Element.contentEditable — A property that determines whether the content of an element can be changed.
Element.currentStyle — A reference to a style object that contains the current style settings for the Element object.
Element.dir — The text direction of the Element object content.
Element.document — The document containing this element.
Element.doScroll() — Simulates a mouse click on a scroll bar.
Element.filters[] — Filters are supported by MSIE and provide some stylistic control over presentation. This collection contains all the filters associated with an Element.
Element.firstChild — The first object in the collection of direct children of this element.
Element.getAdjacentText() — Obtains the text adjacent to the object.
Element.getAttribute() — An accessor for reading named custom attributes.
Element.getAttributeNode() — Given its name, this will retrieve an Attribute node for the Element object.
Element.getElementsByTagName() — Obtain a collection of elements that have the same tag name.
Element.getExpression() — Obtains an expression value from within a style rule.
Element.hideFocus — This property controls whether there is any visible effect of acquiring focus on an object.
Element.id — The value of the ID tag attribute in the HTML tag that represents this element.
Element.innerHTML — The inner HTML of a tag in the document.
Element.innerText — The inner text of a tag in the document.
Element.insertAdjacentHTML() — Insert some HTML into the document adjacent to this element.
Element.insertAdjacentText() — Insert some text into the document adjacent to this element.
Element.isContentEditable — Returns a Boolean value indicating whether the content of the element can be altered.
Element.isDisabled — A flag property that indicates whether the user can interact with the object or not.
Element.isTextEdit — A Boolean indication of the text editing capabilities of this element.
Element.lang — The value of the LANG tag attribute of the HTML tag that represents this element.
Element.language — The required scripting language for fragments of script associated with this element.
Element.lastChild — The last child object contained within the DOM hierarchy that descends from this element.
Element.mergeAttributes() — Merge the attributes from one object with another.
Element.nextSibling — An HTML element at the same level within the document hierarchy.
Element.nodeName — Part of the internal document hierarchy management.
Element.nodeType — Part of the internal document hierarchy management.
Element.nodeValue — Part of the internal document hierarchy management.
Element.normalize() — Processes all of the textNode objects that are children of the receiving element and prepares the document for save and restore.
Element.offsetHeight — The height of this element.
Element.offsetLeft — The X coordinate of the HTML element.
Element.offsetParent — A reference to the parent object that is the reference point for offset positioning values.
Element.offsetTop — The Y coordinate of the HTML element.
Element.offsetWidth — The width of the HTML element.
Element.onevent — A property containing a reference to an event handler property.
Element.outerHTML — The outer HTML of a tag in the document.
Element.outerText — The outer text of a tag in the document.
Element.ownerDocument — A reference to the document object that the element is contained within.
Element.parentElement — The element that is the owner or parent of the current object.
Element.parentNode — Part of the internal DOM hierarchy management.
Element.parentTextEdit — A reference to the next highest object in the hierarchy that allows a TextRange to be created.
Element.previousSibling — An HTML element at the same level within the document hierarchy.
Element.readyState — The readyState of an object contains a value indicating whether it is currently loading or is ready to use.
Element.releaseCapture() — Part of the event handling mechanism in MSIE.
Element.removeAttribute() — An accessor method to delete a named custom attribute.
Element.removeAttributeNode() — Removes an attribute node from the element hierarchy. If the attribute has a default value, that will be used subsequently.
Element.removeBehavior() — Removes a behavior that was previously added to the object.
Element.removeExpression() — Removes an expression from an object.
Element.replaceAdjacentText() — Replace some text adjacent to the element object.
Element.runtimeStyle — The style settings for the object, taking into account any cascaded styles and changes to the styles that may have happened dynamically.
Element.scopeName — The name of a scope chain.
Element.scrollHeight — An MSIE property for measuring sizes of objects when they have been scrolled.
Element.scrollIntoView() — Set the scroll of the document to bring the element into view.
Element.scrollLeft — An MSIE property for measuring position of objects when they have been scrolled.
Element.scrollTop — An MSIE property for measuring position of objects when they have been scrolled.
Element.scrollWidth — The width of a scrolling region.
Element.setAttribute() — An accessor method to set a named custom attribute value.
Element.setAttributeNode() — A new attribute node is added to the element. If one with the same name already exists, it will be replaced.
Element.setCapture() — Part of the event handling mechanism in MSIE.
Element.setExpression() — Part of the behavior handling mechanisms in MSIE.
Element.sourceIndex — The index value of this element in the document.all[] array.
Element.style — A style object that can be modified for the element.
Element.tagName — The name of the HTML tag that instantiated this object.
Element.tagUrn — The URN value for a tag.
Element.title — The value of the TITLE tag attribute for the HTML tag that created this object.
Element.uniqueID — An automatically generated unique ID value for an object.
else ... — Part of the if ... else conditional code execution mechanism.
else if( ... ) ... — A technique for stacking if conditions in a script.
EM object — An object representing the HTML content delimited by the <EM> tags.
<EMBED> — A mechanism for adding plugin functionality to a web browser.
Embed object — An object that represents an embedded item in MSIE.
Embed.align — Controls the alignment of an embedded plugin relative to its surrounding objects.
Embed.height — The height of a plugin's extent rectangle.
Embed.hidden — A flag indicating whether a plugin is hidden or not.
Embed.name — This corresponds to the NAME attribute of the <EMBED> tag.
Embed.palette — The palette for use with a plugin.
Embed.pluginspage — The URL of a page where the plugin can be obtained if it is not yet installed in the browser.
Embed.readyState — The downloading status disposition of the plugin associated with the <EMBED> tag.
Embed.src — The URL of an external file that the plugin may use.
Embed.units — The unit of measure for the height and width of the plugin extent rectangle.
Embed.width — The width of the plugin extent rectangle.
EmbedArray object — A more appropriate name for a PluginArray that contains a collection of plugins within the current document.
EmbedArray.length — The number of plugin objects in the document.
Embedded JavaScript — JavaScript available inside your application.
Emboss() — Displays the image content of the HTML element as if it were an embossed effect.
Empty statement (;) — A no-op 'do-nothing' statement.
enableExternalCapture() — Part of the Netscape 4 event propagation complex.
encodeURI() — This ECMA defined function can be used to encode an entire URI value that can then be decoded with the decodeURI() function.
encodeURIComponent() — This ECMA defined function can be used to encode a URI component value that can then be decoded with the decodeURIComponent() function.
Engrave() — An effect that is the opposite of the embossed image appearance.
Enquiry functions — A means of determining value types.
Entity object — An entity is an item in an XML document. This object encapsulates the XML entity.
Entity.notationName — If an entity is unparsed, then this will be the name of the notation for that entity, otherwise it is null.
Entity.publicId — The public identifier associated with the entity if it was specified when the entity was instantiated.
Entity.systemId — The system identifier associated with the entity if it was specified when the entity was instantiated.
EntityReference object — A reference to an entity object in an XML document.
enum — Reserved for future language enhancements.
Enumeration constant — Possible future functionality to provide enumerated data types.
Enumerator object — A special object supported by MSIE for processing collections of objects.
Enumerator() — A constructor function for creating new Enumerator objects.
Enumerator.atEnd() — A method that returns a flag indicating the end of the collection.
Enumerator.constructor — A reference to the constructor object for the Enumerator.
Enumerator.item() — A reference to the current item in the collection. This method returns the object from the collection that the enumerator is currently accessing.
Enumerator.moveFirst() — Resets the enumerator to point at the first item in the collection.
Enumerator.moveNext() — Moves the enumerator to the next item in the collection.
Environment — The environment is the computing context in which the script is executed.
Equal to (==) — Compares two operands for equality.
Equality expression — An expression that tests for equality or not.
Equality operator — An operator that tests for equality or not.
Error — That which happens when your script fails to execute properly.
Error events — A class of events that are triggered by errors.
Error handler — Triggered by an error in the JavaScript execution.
Error handling — A mechanism for dealing with errors.
Error object — An object that represents a custom error condition.
Error() — An Error object constructor.
Error() — An Error object constructor.
Error.constructor — A reference to a constructor object.
Error.description — A property that corresponds to the description argument in the constructor function.
Error.message — A property that corresponds to the message argument in the constructor function.
Error.name — The name of an Error object can be accessed with this property.
Error.number — A property that corresponds to the number argument in the constructor function.
Error.prototype — The prototype for the Error object that can be used to extend the interface for all Error objects.
Error.toString() — Return a string primitive version of an Error object.
Escape sequence (\) — A means of defining characters that cannot easily be typed on a keyboard.
escape() — URL escaping a text string.
Escaped JavaScript quotes in HTML — Closing quotes may appear when you least expect them.
Eval code — Script source executed by an eval() function call.
eval() — Execute some script source passed as an argument.
EvalError object — A native error object based on the Error object.
Event-driven model — A contextual manner in which script functions are executed.
Event — A trigger that may occur at any time.
event — During event handling, MSIE stores a reference to an Event object in this variable.
Event bubbling — A mechanism whereby MSIE and Netscape 6.0 pass events up a hierarchy of objects until they find a handler.
Event handler — A script function that is called in response to an event trigger.
Event handler in <SCRIPT> — You can associate an event handler using the <SCRIPT> tag's attributes.
Event handler properties — Objects can have event handlers attached via property values.
Event handler scope — The scope of an event handler is somewhat different to the normal scope.
Event management — The Netscape 4 event management suite provides event routing facilities.
Event model — A framework within which events are triggered and handled by the interpreter.
Event names — Rules for naming event handlers.
Event object — Early Netscape and MSIE browsers define different event object models. In MSIE, a single Event object is available globally and shared by all events.
Event.altKey — A Boolean value in MSIE that represents the state of the [alt] key.
Event.bookmarks[] — A collection of all the ADO bookmarks tied to the rows affected by the current event.
Event.boundElements[] — A collection of all the elements on the page that are bound to a dataset.
Event.bubbles — A Boolean value that indicates whether the event can bubble or not.
Event.button — The mouse button that was pressed to trigger the event in MSIE.
Event.cancelable — If the event can be cancelled, then this flag will be set true.
Event.cancelBubble — A flag that halts event bubbling in MSIE browsers.
Event.charCode — The character code of a key that was pressed to trigger the event relating to this object.
Event.clientX — MSIE mouse position relative to the web page.
Event.clientY — MSIE mouse position relative to the web page.
Event.ctrlKey — A Boolean value in MSIE that represents the state of the [control] key.
Event.currentTarget — A reference to the object whose listener is being called with the receiving Event object.
Event.data — The URL of the data dropped into a the window from an onDragDrop event.
Event.dataTransfer — A means of transferring drag and drop data via the Event object. This refers to a dataTransfer object.
Event.eventPhase — Describes what phase the event is currently being processed in.
Event.fromElement — The object that the mouse is moving from.
Event.height — The new height of a resized window or frame.
Event.initEvent() — An Event object initializer that must be called before dispatching the Event object to an EventTarget.
Event.keyCode — The code point for the key that was pressed in MSIE.
Event.layerX — The X coordinate of the event within a layer.
Event.layerY — The Y coordinate of the event within a layer.
Event.modifiers — A bitmask provided by Netscape, which contains a bit flag for each modifier key.
Event.offsetX — The X coordinate of the event relative to its containing object.
Event.offsetY — The Y coordinate of the event relative to its containing object.
Event.pageX — Netscape mouse position relative to the web page.
Event.pageY — Netscape mouse position relative to the web page.
Event.preventDefault() — A means of preventing the default behavior from being activated after the event returns to its dispatcher.
Event.propertyName — The name of a property that was changed and which triggered an onPropertyChange event.
Event.reason — An indication of the status of a data transfer.
Event.repeat — If a keyboard can generate auto-repeating keystrokes, then this is set true when a keystroke is an auto-repeat of a previous one.
Event.returnValue — A return value for the event.
Event.screenX — Mouse position relative to the screen display.
Event.screenY — Mouse position relative to the screen display.
Event.shiftKey — A Boolean value in MSIE that represents the state of the [shift] key.
Event.srcElement — An MSIE supported property containing the event source.
Event.srcFilter — A filter object representing the filter that changed.
Event.stopPropagation() — Prevents propagation of event handling via bubbling or capture techniques.
Event.target — A property containing a reference to the object that the event was directed at.
Event.timeStamp — A time value at which the event was triggered.
Event.toElement — The object to which the mouse is moving.
Event.type — A string that contains the event type name.
Event.which — The number of the mouse button or the code point value of a key that was pressed in Netscape.
Event.width — The new width of a resized window or frame.
Event.x — The X coordinate of the event within a positioned object.
Event.y — The Y coordinate of the event within a positioned object.
Event propagation — The means whereby events are passed up a hierarchy of objects.
Event type constants — Netscape defines a set of constants that represent event types.
EventCapturer object — A special object that Netscape uses to grab events.
EventException object — An object that describes the kind of event-based exception that has occurred.
EventException.code — A property containing a code value that indicates which one of the available set of exceptions has occurred.
EventListener object — A script function that is called when an event is triggered.
EventTarget object — A set of properties and methods that extend the behavior of DOM nodes to support event handling.
EventTarget.addEventListener() — Adds a listener function to handle events dispatched to the owning EventTarget node.
EventTarget.dispatchEvent() — Create and send an event trigger to a target node.
EventTarget.removeEventListener() — Deregister an event listener that was established with the addEventListener() method.
Exactly equal to (===) — The two values must be identically equal in value and type.
Exception — An unexpected result from an expression evaluation.
Exception handling — The process of managing errors.
execScript() — Execute a script.
Executable code — Script code that can be parsed and run as a program or function.
Execute a function — The act of calling a function during script execution.
Execution context — An environment in which the script source code is executed.
Execution environment — The environment in which a script is executed.
Exponent-log function — Functions that calculate exponents and logs.
export — Exports some properties to allow them to be imported into another execution context.
Expression — Combining one or more operands with an operator creates an expression.
Expression statement — Expressions do not necessarily have to be placed on the right of an assignment operator.
extends — Reserved for future language enhancements to do with better class handling.
external — Reference to external objects outside of the interpreter.
external object — Since MSIE can be embedded as a component into other applications, this object represents the object model of such a containing application.
external.AddChannel() — A means of adding a channel to an external object.
external.AddDesktopComponent() — A means of adding an image or web site link to the desktop workspace.
external.AddFavorite() — Support for external applications and objects when using MSIE in the Windows environment. This adds an item to the favorites collection.
external.AutoCompleteSaveForm() — Support for external applications and objects when using MSIE in the Windows environment. This accesses the auto-complete mechanisms.
external.AutoScan() — Connects to a web server using a template and registry scanning process to work out the target web server address from a partial domain name.
external.ImportExportFavorites() — A mechanism for storing favorites lists on a server and getting them back later.
external.IsSubscribed() — Channel handling support is provided by this enquiry that determines whether the channel is registered.
external.menuArguments — The window object where a context menu was executed.
external.NavigateAndFind() — This augments the anchor linking behavior and adds a highlighting capability.
external.ShowBrowserUI() — Accesses dialog panels that are built into the browser.