Title Statements
- Full title :Beginning JavaScript / Jeremy McPeak.
Summary
The bestselling JavaScript guide, updated with current features and best practices. It shows how to work effectively with JavaScript frameworks, functions, and modern browsers, and teaches more effective coding practices using HTML5.
Read More ↓Edition Statements
- Publication Date:2015
- Edition:Fifth edition
Publication Statements
- Publisher(s):Wrox
- Place of Publication:Indianapolis, IN
- Language:eng
- Publication Date:2015
Notes
Includes index.
<P>INTRODUCTION xix</p> <p><b>CHAPTER 1: INTRODUCTION TO JAVASCRIPT AND THE WEB 1</b></p> <p>Introduction to JavaScript 1</p> <p>Where Do My Scripts Go? 7</p> <p>Your First Simple JavaScript Program 9</p> <p>Writing More JavaScript 10</p> <p>A Brief Look at Browsers and Compatibility Problems 15</p> <p>Summary 16</p> <p><b>CHAPTER 2: DATA TYPES AND VARIABLES 17</b></p> <p>Types of Data in JavaScript 18</p> <p>VariablesStoring Data in Memory 20</p> <p>Using DataCalculations and Basic String Manipulation 26</p> <p>Data Type Conversion 38</p> <p>Arrays 43</p> <p>Summary 52</p> <p><b>CHAPTER 3: DECISIONS AND LOOPS 55</b></p> <p>Decision MakingThe if and switch Statements 56</p> <p>LoopingThe for and while Statements 76</p> <p>Summary 84</p> <p><b>CHAPTER 4: FUNCTIONS AND SCOPE 87</b></p> <p>Creating Your Own Functions 88</p> <p>Scope and Lifetime 92</p> <p>Functions as Values 94</p> <p>Summary 97</p> <p><b>CHAPTER 5: JAVASCRIPTAN OBJECT]BASED LANGUAGE 99</b></p> <p>Object]Based Programming 100</p> <p>JavaScripts Native Object Types 105</p> <p>Creating Your Own Custom Objects 144</p> <p>Creating New Types of Objects (Reference Types) 148</p> <p>Summary 151</p> <p><b>CHAPTER 6: STRING MANIPULATION 153</b></p> <p>Additional String Methods 154</p> <p>Regular Expressions 158</p> <p>The String Object 175</p> <p>Using the RegExp Objects Constructor 183</p> <p>Summary 191</p> <p><b>CHAPTER 7: DATE, TIME, AND TIMERS 193</b></p> <p>World Time 194</p> <p>Timers in a Web Page 200</p> <p>Summary 203</p> <p><b>CHAPTER 8: PROGRAMMING THE BROWSER 205</b></p> <p>Introduction to the Browsers Objects 206</p> <p>Determining the Users Browser 218</p> <p>Summary 225</p> <p><b>CHAPTER 9: DOM SCRIPTING 229</b></p> <p>The Web Standards 231</p> <p>The Document Object Model 234</p> <p>Manipulating the DOM 259 Summary 268</p> <p><b>CHAPTER 10: EVENTS 271</b></p> <p>Types of Events 272</p> <p>Connecting Code to Events 273</p> <p>The Standard Event Model 283</p> <p>Event Handling in Old Versions of Internet Explorer 298</p> <p>Writing Cross]Browser Code 307</p> <p>Native Drag and Drop 317</p> <p>Summary 333</p> <p><b>CHAPTER 11: HTML FORMS: INTERACTING WITH THE USER 335</b></p> <p>HTML Forms 336</p> <p>Traditional Form Object Properties and Methods 338</p> <p>HTML5 Form Object Properties and Methods 375</p> <p>Summary 386</p> <p><b>CHAPTER 12: JSON 391</b></p> <p>XML 392</p> <p>JSON 393</p> <p>Summary 400</p> <p><b>CHAPTER 13: DATA STORAGE 403</b></p> <p>Baking Your First Cookie 404</p> <p>Creating a Cookie 416</p> <p>Getting a Cookies Value 419</p> <p>Cookie Limitations 424</p> <p>Cookie Security and IE 425</p> <p>Web Storage 426</p> <p>Summary 432</p> <p><b>CHAPTER 14: AJAX 435</b></p> <p>What Is Ajax? 436</p> <p>Using the XMLHttpRequest Object 438</p> <p>Creating a Simple Ajax Module 441</p> <p>Validating Form Fields with Ajax 444</p> <p>Things to Watch Out For 453</p> <p>Summary 462</p> <p><b>CHAPTER 15: HTML5 MEDIA 463</b></p> <p>A Primer 464</p> <p>Scripting Media 467</p> <p>Summary 481</p> <p><b>CHAPTER 16: JQUERY 483</b></p> <p>Getting jQuery 484</p> <p>jQuerys API 485</p> <p>Summary 504</p> <p><b>CHAPTER 17: OTHER JAVASCRIPT LIBRARIES 505</b></p> <p>Digging into Modernizr 506</p> <p>Diving into Prototype 515</p> <p>Delving into MooTools 531</p> <p>Summary 546</p> <p><b>CHAPTER 18: COMMON MISTAKES, DEBUGGING, </b></p> <p>AND ERROR HANDLING 549</p> <p>Doh! I Cant Believe I Just Did That: Some Common Mistakes 550</p> <p>Error Handling 555</p> <p>Debugging 563</p> <p>Summary 583</p> <p>APPENDIX A: ANSWERS TO EXERCISES 587</p> <p>APPENDIX B: JAVASCRIPT CORE REFERENCE 653</p> <p>APPENDIX C: W3C DOM REFERENCE 683</p> <p>APPENDIX D: LATIN]1 CHARACTER SET 715</p> <p>INDEX 723</p>
The Physical Object
- Description:1 online resource (xxiii, 742 pages) : : illustrations
Edition Identifiers
- ISBN:9781118903438, 1118903439, 9781118903339, 1118903331, 9781118903742, 1118903749
- oclc:on1076721310
- Dewey Decimal:005.2762
Subjects
Writers
No reviews yet. Be the first to rate this work.
Rate & Review