Contents at a Glance
About the Author . . . . . . . .. . . . . . . . . xv
About the Technical Reviewer . . . . . . . . .. . xvii
Acknowledgments . . . . . . xix
PART 1 n n n Introducing Modern JavaScript
nCHAPTER 1 Modern JavaScript Programming . . . . . .. 3
PART 2 n n n Professional JavaScript Development
nCHAPTER 2 Object-Oriented JavaScript . . . . . . . . 19
nCHAPTER 3 Creating Reusable Code . 39
nCHAPTER 4 Tools for Debugging and Testing . . . . . 59
PART 3 n n n Unobtrusive JavaScript
nCHAPTER 5 The Document Object Model . . . . . . . . 77
nCHAPTER 6 Events . . . . . . . . . .. . . . . . . 111
nCHAPTER 7 JavaScript and CSS. . . . . 135
nCHAPTER 8 Improving Forms . . . . . . . 169
nCHAPTER 9 Building an Image Gallery. . . . . . . . . 191
PART 4 n n n Ajax
nCHAPTER 10 Introduction to Ajax . . . . . 215
nCHAPTER 11 Enhancing Blogs with Ajax . . . .. . . . . 233
nCHAPTER 12 Autocomplete Search . . . 247
nCHAPTER 13 An Ajax Wiki . . . . . . . . . . . . 265
iii
PART 5 n n n The Future of JavaScript
nCHAPTER 14 Where Is JavaScript Going? . . . . . 287
PART 6 n n n Appendixes
nAPPENDIX A DOM Reference. . . . . . . . . 307
nAPPENDIX B Events Reference . . . . . . . 325
nAPPENDIX C The Browsers . . . . . . . . . . 345
nINDEX . . . . . . . . . . . . . . 349
Expand