[...]... 10 23 10 24 10 25 10 28 10 29 10 33 10 34 10 38 10 39 10 39 10 61 1068 10 74 11 01 110 5 Appendix A: JavaScript and Browser Object Quick Reference 11 07 Appendix B: JavaScript Reserved Words 11 21 Appendix C: Answers to Tutorial Exercises 11 23 Appendix D: JavaScript and DOM Internet Resources 11 39 Appendix E: What’s on the CD-ROM 11 43... 16 3 16 5 16 6 16 7 16 8 16 9 17 0 17 1 17 1 17 3 17 7 17 7 xxiii xxiv Contents Mixing Object Models 19 2 Standards Compatibility Modes (DOCTYPE Switching) 19 8 Where to Go from Here 19 9 Chapter 15 : Generic HTML Element Objects 2 01 Generic Objects 2 01 Chapter 16 : Window... 12 1 12 3 12 5 12 5 12 6 12 8 13 0 Chapter 12 : Images and Dynamic HTML 13 1 The Image Object The javascript: Pseudo-URL Popular Dynamic HTML Techniques Exercises Part III: Document Objects Reference 13 1 13 7 13 7 14 0 14 1 Chapter 13 : JavaScript. .. 11 1 11 1 11 5 11 6 11 7 11 9 Chapter 11 : Scripting Frames and Multiple Windows 12 1 Frames: Parents and Children References among Family Members Frame Scripting Tips About iframe Elements Controlling... 97 Chapter 10 : Strings, Math, and Dates 11 1 Chapter 11 : Scripting Frames and Multiple Windows 12 1 Chapter 12 : Images and Dynamic HTML 13 1 PART III: Document Objects Reference 14 1 Chapter 13 : JavaScript Essentials Chapter 14 : Document Object Model Essentials Chapter 15 : Generic HTML... 11 05 Appendix A: JavaScript and Browser Object Quick Reference Appendix B: JavaScript Reserved Words Appendix C: Answers to Tutorial Exercises Appendix D: JavaScript and DOM Internet Resources Appendix E: What’s on the CD-ROM 11 07 11 21 112 3 11 39 11 43 Index ... 909 910 911 911 912 912 915 916 916 918 Chapter 31: Control Structures and Exception Handling 9 31 If and If .Else Decisions Conditional Expressions Repeat (for) Loops The while Loop The do-while Loop ... to Object Models 14 3 14 4 14 4 14 8 15 5 15 8 16 1 Chapter 14 : Document Object Model Essentials 16 3 The Object Model Hierarchy How Document Objects Are Born Object Properties Object Methods Object Event Handlers Object Model... 14 3 16 3 2 01 359 485 509 5 91 6 01 629 6 51 673 695 719 793 PART IV: JavaScript Core Language Reference 847 Chapter 27: The String Object 849 Chapter 28: The Math, Number, and Boolean Objects 877 Chapter 29: The Date Object 8 91 Chapter 30: The Array Object ... 10 06 Chapter 34: Global Functions and Statements 10 09 Functions 10 10 Statements 10 16 Chapter 35: Body Text Objects 10 23 blockquote and q Element Objects br Element Object font Element Object h1 h6 Element Objects hr Element . alt="" JavaScript ™ Bible 5th Edition Danny Goodman with Michael Morrison With a foreword by Brendan Eich, JavaScript s creator Praise for Danny Goodman’s JavaScript Bible JavaScript Bible. Productions JavaScript ™ Bible is by far the best JavaScript resource I’ve ever seen (and I’ve seen quite a few).” — Robert J. Mirro, Independent Consultant, RJM Consulting JavaScript ™ Bible 5th Edition Danny. INCIDENTAL, CONSEQUENTIAL, OR OTHER DAMAGES. JavaScript Bible, 5th Edition Published by: Wiley Publishing, Inc. 10 475 Crosspoint Blvd. Indianapolis, Indiana 46256 www.wiley.com Copyright © 2004 Danny Goodman. All