JavaScript Debugger
JavaScript Editor
↑
List of Figures
Chapter 3: Data Types and Variables
-
Figure 3-1: Illustrating escape codes and quoting in strings
-
Figure 3-2: A local variable hides a global variable of the same name.
-
Figure 3-3: Variables may be visible without yet being initialized.
Chapter 4: Operators, Expressions, and Statements
-
Figure 4-1: Logical expressions can be short-circuited.
-
Figure 4-2: Modern browsers try to gracefully accommodate non-terminating scripts.
-
Figure 4-3: break used with and without a label
-
Figure 4-4: continue used both with and without the label
-
Figure 4-5: The for…in statement is useful for iterating over an object’s properties.
-
Figure 6-1: Enumerating properties of the Document object with a for/in loop
-
Figure 6-2: Mozilla supports array-style indexing of strings.
-
Figure 6-3: Reference variables can be changed within functions.
-
Figure 6-4: Associative arrays provide key/value data lookup capabilities in JavaScript.
Chapter 7: Array, Date, Math, and Type-Related Objects
-
Figure 8-1: Regular expressions simplify pattern matching.
-
Figure 8-2: The global flag starts searching where the previous match left off.
-
Figure 8-3: Parsing out words in a string using exec() on a regexp with the global flag set
-
Figure 8-4: Results of regular expression matching without the global flag
-
Figure 11-1: A click on the bold text causes a click event, which bubbles up the hierarchy.
-
Figure 11-2: If an event is cancelable, setting event.cancelBubble prevents the event from propagating.
-
Figure 11-3: Contextual information is passed in through the Event object.
-
Figure 11-4: Canceling default behavior is not the same as stopping propagation.
Chapter 15: Dynamic Effects: Rollovers, Positioning, and Animation
Chapter 17: Browser and Capabilities Detection
-
Figure 17-1: Browser detection results under Internet Explorer, Netscape, and Opera
-
Figure 17-2: Explorer’s client capabilities in action
Chapter 21: Browser-Specific Extensions and Considerations
-
Figure 21-1: Using an Enumerator to iterate over all the elements in the page
-
Figure 21-2: Using the FileSystemObject in an HTA to implement a simple text editor
-
Figure 21-3: Data Binding example under Internet Explorer
-
Figure 21-4: Dynamic properties let you automate style calculations.
-
Figure 21-5: Using dynamic properties to create a basic calculator
-
Figure 21-6: Pop-up windows give you different behavior than alert()s or regular browser windows.
-
Figure 22-1: Setting Mozilla’s overall JavaScript preferences
-
Figure 22-2: Categorizing sites into security zones with Internet Explorer
-
Figure 22-3: Most security zones have a default security template.
-
Figure 22-4: Customizing security zone properties
Chapter 23: JavaScript Programming Practices
-
Figure 23-1: Enabling notification of script errors in Internet Explorer
-
Figure 23-2: Syntax errors in Internet Explorer (top) and Mozilla (bottom)
-
Figure 23-3: Runtime errors in Internet Explorer (top) and Mozilla (bottom)
-
Figure 23-4: Using Error.stack to get a stack trace in Mozilla
-
Figure 23-5: A manually constructed stack trace
-
Figure 23-6: The Venkman JavaScript debugger in action
-
Figure 23-7: Enabling script debugging in Internet Explorer
-
Figure 23-8: Use Microsoft Script Debugger to help track down errors.
-
Figure 23-9: Automatic error reporting with the onerror handler
-
Figure 23-10: Obfuscated code is functionally equivalent to the original.
JavaScript Debugger
JavaScript Editor
©
→