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] C/C++ boolean datatype, C vs. JavaScript C language version, JavaScript interpreter char data type classes in C++ comments, support in JavaScript delete operator in C++, JavaScript vs. double data type JavaScript vs. null value, JavaScript vs. object properties pointers switch statements caching JavaScript code by web browser offscreen images and call objects 2nd 3rd as namespaces call( ) function (ExternalInterface) call( ) method (Function) callee property (Arguments) 2nd cancelable property (Event) 2nd cancelBubble property (IE Event) 2nd <canvas> tag 2nd 3rd drawing pie chart Canvas object CanvasGradient object CanvasPattern object CanvasRenderingContext2D capability testing caption property capturing mouse events (IE event model) capturing phase, event propagation addEventListener( ) method and dragging document elements ^ (caret) ^= (assignment) operator 2nd beginning of line matching in regular expressions bitwise XOR operator 2nd negating character classes in regular expressions carriage returns case alphabetical sorting and event-handler attributes, HTML and XHTML insensitivity to alphabetical sorting, array of strings HTML HTML tags regular-expression pattern matching 2nd 3rd 4th string comparisons sensitivity to class and object names JavaScript JavaScript properties case label (switch statement) catch clause (try/catch/finally statement) CDATASection object 2nd cellIndex property cells property CERT Advisory on cross-site scripting char type (Java) conversion to JavaScript number converting JavaScript numbers to character classes (in regular expressions) references not allowed in character codes converting to strings hexadecimal escape sequences key events character sets CharacterData interface 2nd characters finding in strings literal characters in regular expressions charAt( ) method charCode property check( ) function checkbox element 2nd name attribute checked property radio and checkbox elements child nodes changing parent node childNodes[ ] property (Node) 2nd 3rd 4th children[ ] property circular references, causing failure of IE garbage collection class attribute (HTML) 2nd class fields class hierarchy class methods 2nd class of elements, applying CSS style rules to class properties classes as modules common object methods comparison methods constructors defining class with conversions to primitive datatype CSS, scripting defineClass( ) utility method defining circle class (example) complex number class (example) error extending without inheriting instances of Java importing JavaClass class JavaPackage objects overloaded methods simulating in JavaScript Java and C++ members class methods class properties instance methods instance properties private object 2nd prototypes and inheritance built-in classes, extending reading/writing inherited properties pseudoclasses in JavaScript superclasses and subclasses constructor chaining overridden methods wrapper, for primitive datatypes className property 2nd 3rd 4th HTMLElement object utility functions for manipulating clearInterval( ) method (Window) 2nd clearTimeout( ) method (Window) 2nd 3rd client sniffers 2nd client-side JavaScript 2nd accessibility browser environment compatibility browser testing conditional comments in IE feature-testing browsers history of incompatibility modern browsers DOM, combining with scripting of interpreter embedding scripts in HTML event handlers in HTML examples execution of JavaScript programs, threading model global object in URLs interacting windows logging facility (example) predefined global variables and functions reference scripted graphics scripting HTML documents security cross-site scripting denial-of-service attacks restricted features same-origin policy scripting plug-ins and ActiveX controls unsupported features writing scripts client-side objects, garbage collection in Internet Explorer clientInformation property clientX, clientY properties Event object (IE) MouseEvent interface clip attribute close( ) method Document object using with write( ) Window object 2nd 3rd closed property (Window) 2nd closures, nested functions as examples memory leaks in Internet Explorer code, indenting 2nd collapsed property collections, document object problems with : (colon), in labels color attribute color-changing animation colors, specifying in CSS , (comma) operator 2nd 3rd combining multiple expressions in loops Comment object 2nd comments argument types conditional comments in Internet Explorer HTML, in script tag commonAncestorContainer property Comparable class compare( ) method compareTo( ) method comparing by reference 2nd by value 2nd by reference vs. strings by value comparison functions, for array sorting comparison operators datatypes of operands and returns object datatype conversion string comparisons compatibility mode (IE) compatibility, client-side JavaScript incompatibilities among web browsers compiling applets that use JSObject scripts for repeated execution in Java complete property (Image) complex number class as module defining compound statements break, continue, return, or throw statement in computed styles scripting concat( ) method (Array) concatenating strings + operator 2nd 3rd 4th array elements converted to String object, using with + operator conditional comments in Internet Explorer conditional operator associativity conditional statements confirm( ) method 2nd blocking constants defined by DOM interfaces defining with prototype properties Infinity, NaN, and Number constructor chaining constructor functions 2nd 3rd 4th initializing object properties invoking with new operator multiple frames or windows and predefined vs. user-defined in multiple windows prototype property constructor property 2nd 3rd content, HTML documents adding content Content-Script-Type header (HTTP) Content-Type header (HTTP) contentDocument property (Frame) contexts, execution continue statements semicolons in cookie property Document object 2nd 3rd parsing HTMLDocument object 2nd Cookie( ) constructor cookies added to HTTP requests alternatives to Flash SharedObject persistence IE userData persistence persistent objects (example) Cookie class (example) defined deleting domain attribute lifetime path attribute reading secure attribute security of persistent data specification, original (web site) storing limitations, browser and server visibility coordinates mouse pointer 2nd converting window, screen, and document X and Y coordinates of HTML document elements copying by reference 2nd strings by value by reference vs. counter that controls a loop, incrementing counter variable countTags( ) function createDocument( ) method createDocumentFragment( ) method (Document) createElement( ) method (Document) createElementNS( ) method createEvent( ) method createEventObject( ) method createExpression( ) method (Document) 2nd createNamespace( ) method (Module) createTextNode( ) method (Document) Crockford, Douglas cross-site scripting (XSS) defending against, online resources CSS (Cascading Style Sheets) behavior style attribute, setting for persistence browser compatibility with standard browser support, differences in defining and using (example) for DHTML color, transparency, and translucency CSS box model and positioning element display and visibility overlapping translucent windows partial visibility position attribute positioning elements positioning example (shadowed text) querying element position and size third dimension, z-index attribute graphics, producing bar charts CSSDrawing class scripting computed styles scripting CSS classes scripting inline styles CSS tool tips (example) DHTML animations naming CSS attributes in JavaScript working with style properties scripting stylesheets enabling/disabling stylesheets stylesheet objects and rules specifications and working drafts, web site style attributes listed with values style rules applying to document elements determining precedence of stylesheets, associating with documents versions VML namespace, specifying tag usage in CSS2Properties object 2nd cssText property property names, CSS attributes vs. return value of getComputedStyle( ) style properties, working with value of style property of HTML element CSSDrawing class CSSRule object 2nd cssRules[ ] property CSSStyleSheet object 2nd insertRule( ) and deleteRule( ) cssText property 2nd ctrlKey property 2nd 3rd Event object (IE) MouseEvent { } (curly braces) delimiting statement blocks in function body try/catch/finally statement in object literals number within, specifying repetition in CSS regular expression repetition characters currentStyle property 2nd currentTarget property (Event) 2nd 3rd |