Index[A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] [Z] E constant (Math object) e or E (exponential) notation E4X (ECMAScript for XML) expressions looping statement for iterating through lists of XML tags methods to invoke on XML objects namespaces removing attributes and tags ECMA-262 standard ECMAScript browser compatibility with standard character sets escape sequences in string literals expressions serving as array and object literals v1, Unicode characters in string literals v3 array literals global variables and functions, listed identifiers, rules for keywords object literal syntax Perl RegExp features not supported reserved words for extensions throw statement and Error class Element interface 2nd 3rd childNodes[ ] property creation utility functions getElementsByTagName( ) method methods for element attributes XML vs. HTML elements array adding new assigning functions to deleting inserting or removing with splice( ) length, specifying reading and writing DOM attributes setting attribute values on finding in document IE 4 DOM form defining scripting HTML assigning event handler to CSS positioning and visibility attributes display and visibility event-handler attributes JavaScript objects corresponding to positioning and sizing with CSS querying position and size stacking order id attribute, applying style rules to specific elements[ ] property (Form) 2nd 3rd fieldset object else clause, if statements else if statements <embed> tag embedding JavaScript in HTML documents </script> tag <noscript> tag <script> tag defer attribute hiding scripts from old browsers nonstandard script attributes scripts in external files specifying scripting language in Java application compiling scripts implementing Java interfaces in JavaScript invoking functions in Java type conversion with javax.script in web browsers other web-related embeddings empty arrays empty objects, creating empty statement enabledPlugin property encodeFormData( ) method (HTTP) encodeURI( ) function encodeURIComponent( ) function 2nd 3rd encoding property endContainer property endOffset property endsWith( ) method (String) enlarging arrays enumerable object properties enumerating object properties propertyIsEnumerable( ) method = (equal sign) == (equality) operator 2nd null and undefined value, comparing rules for determining equality string comparisons === (identity) operator 2nd case expressions, testing for identity distinguishing null and undefined values rules for determining identical values assignment operator 2nd equality operators 2nd rules for determining equality equals( ) method Error class 2nd error handlers 2nd error messages, displaying with alert( ) errors classes representing Error class and subclasses onerror event handler 2nd RangeError object ReferenceError object SyntaxError object throwing exceptions TypeError object escape sequences in string literals escape( ) function 2nd eval( ) function eval( ) method JSObject class 2nd parsing JSON-encoded data ScriptEngine object string values and String objects, handling EvalError object evaluate( ) method (Document) 2nd evaluating expressions event attribute (<script>) event handlers 2nd 3rd as HTML attributes as properties explicitly invoking event handlers calling document.write( ) 2nd defining for IE using <script> tag Document object defining event handlers writing to document in another frame/window form elements 2nd JavaScript code for function, assigning to many elements HTMLElement object 2nd Image object in HTML navigation bar in a frame Input object invoking during document loading JavaScript URLs and javascript: URL as keyboard input Link object listed, with HTML elements that support them memory leaks in IE onload onreadystatechange onsubmit and onreset onunload registering functions IE event model 2nd mixing original event model and DOM Level 2 objects as onload event handler return values scope handlers registered with addEventListener( ) Select object single-threaded JavaScript execution and Textarea object this keyword and Window object 2nd XMLHttpResponse object event handling models DOM DOM Level 2 W3C or IE model, testing browser support of Event object 2nd 3rd currentTarget property IE properties initEvent( ) method properties standard methods standard properties Event object (IE) as global variable event propagation bubbling 2nd DOM Level 2 2nd event property (Window) event target event-driven programming event-handling models Internet Explorer mixing original with standard original event model standard event model EventListener interface eventPhase property (Event) 2nd events 2nd default actions by browser in response to device-dependent and device-independent 2nd event interfaces and event details key events mouse events onload raw semantic synthetic types of DOM modules for registering handler for type Events API module (DOM) examples from this book, web site exception handling catch clause, try/catch/finally statement exceptions, throwing ! (exclamation mark) ! (NOT) operator ! important modifier in CSS style attributes != (inequality) operator 2nd string comparisons !== (nonidentity) operator 2nd logical complement operator logical NOT operator exclusive or (XOR) operator exec( ) method (RegExp) execution deferring for script embedded in HTML delaying for JavaScript code execution contexts 2nd scope chain exiting loops expandTemplates( ) method (XML) expiration, data saved with IE persistence mechanism expires attribute (cookie) setting exponential notation 2nd number to string conversions expressions as values in object literals case, evaluating combining with comma (,) operator defined E4X evaluating in HTML web page context evaluating with javascript: URL pseudoprotocol function literals in array literal elements JavaScript, interpreting in Java literal vs. variable values operators and datatypes of operands operator associativity operator precedence return statements and statements function calls throw statement XPath evaluating Extensible Stylesheet Language ExternalInterface object 2nd 3rd ActionScript code using simplified Flash scripting with |