The JavaScript Guide shows you how to use JavaScript and gives an overview of the language. If you need exhaustive information about a language feature, have a look at the JavaScript reference. Dec 05, 2018 HTML5: The Missing Manual (Missing Manuals) Matthew MacDonald on Amazon.com.FREE. shipping on qualifying offers. HTML5 is more than a markup language—it’s a collection of several independent web standards.
Errata
View Errata for this bookSubmit your own Errata
JavaScript & jQuery: The Missing Manual, Third Edition
By David Sawyer McFarlandMissing CD-ROM
Download all tutorial files here
Errata
View Errata for this bookSubmit your own Errata
JavaScript & jQuery: The Missing Manual, Third Edition
By David Sawyer McFarlandMissing CD-ROM
Introduction
page xv
- Ecma International - Develops and maintains JavaScript specification www.ecmascript.org/
page xvi
- jQuery used on millions of websites - Stats for jQuery http://trends.builtwith.com/javascript/JQuery
page xix
- The World Wide Web Consortium - Free online validator on W3C http://validator.w3.org
page xxii
- Brackets - Free program download for Windows, Mac, and Linux for editing web pages http://brackets.io
- Notepad++ - Free program download for Windows for editing web pages http://notepad-plus-plus.org
- HTML-Kit - Free program download for Windows for editing web pages www.chami.com/html-kit
- CoffeeCup Free HTML Editor - Free program download for Windows for editing web pages www.coffeecup.com/free-editor
- TextWrangler - Free program download for Mac for editing web pages www.barebones.com/products/textwrangler
- Eclipse - Free program download for Windows, Linux, and Mac for editing web pages www.eclipse.org
- Eclipse for JavaScript developers - Free program download, specifically for developers for Windows, Linux, and Mac for editing web pages www.eclipse.org/downloads/packages/eclipse-ide-javascript-web-developers/indigor
- Eclipse - Plug-ins download for jQuery autocomplete http://marketplace.eclipse.org/category/free-tagging/jquery
page xxiii
- Aptana Studio - Free program download for Windows, Linux, and Mac for editing web pages www.aptana.org
- EditPlus - Commercial software for Windows for editing web pages www.editplus.com
- Atom - Free beta version from GitHub for Windows and Mac https://atom.io
- SublimeText - Commercial software for Windows, Mac, and Linux for editing web pages https://www.sublimetext.com
- EditPlus - Commercial software for Windows for editing web pages www.editplus.com
- BBEdit - Commercial software for Mac for editing web pages www.barebones.com/products/bbedit
- Dreamweaver - Commercial software for Mac and Windows for editing web pages www.adobe.com/products/dreamweaver.html
page xxiv
- Mozilla JavaScript info - Website to find helpful documentation on JavaScript https://developer.mozilla.org/en/JavaScript/Reference
- jQuery.com - Website to find good info on jQuery http://api.jquery.com
page xxvii
- Online Resources - Communicate with the Missing Manuals team www.missingmanuals.com
page xxviii
- Living Examples - Download all example files used in this book http://examples.oreilly.com/0636920032663/
- Missing CD page www.missingmanuals.com/cds
- Registration - Register your book www.oreilly.com/register
- Feedback Page - Submit your comments or questions www.missingmanuals.com/feedback
- Errata Page - View and report errata http://tinyurl.com/jsjqtmm
Chapter 1: Writing Your First JavaScript Program
page 4
- The Interactive Ear - A webpage that serves as an example of what JavaScript can allow users to do http://www.amplifon.co.uk/interactive-ear/
page 8
- Node.js - Video introduction to the server-side version of JavaScript www.youtube.com/watch?v=hKQr2DGJjUQ/
page 12
- Practice Files - Where you can download all of the practice files within this book https://github.com/sawmac/js3e
- 7-Zip - Free utility that can help you open zipped files www.7-zip.org
page 22
Chapter 2: The Grammar of JavaScript
page 46
- Super Spice Dash - McDonald's webpage that uses JavaScript for its game http://mcbites.sh75.net
Chapter 3: Adding Logic and Control to Your Programs
page 62
- Solitaire - JavaScript based game http://worldofsolitaire.com
Chapter 4: Introducing jQuery
page 106
- jQuery library - Online www.jquery.com
- W3Techs - Website to learn more about jQuery usage stats http://w3techs.com/technologies/details/js-jquery/all/all
page 107
- Yahoo User Interface Library - Yahoo programmers constantly add and improve this library http://yuilibrary.com
- Dojo Toolkit - Another very large JavaScript library http://dojotoolkit.org/
- Mootools - Javascript library geared toward slick animation and visual effects http://mootools.net/
- Ember.js - Library that provides framework for building web applications http://emberjs.com
- Angular.js - Library that provides framework for building web applications http://angularjs.org
- Backbonejs.org - Library that provides framework for building web applications http://backbonesjs.org
- Underscore.js - Library that provides additions to JavaScript http://underscorejs.org
- Raphaël - Library with the sole purpose of making drawing vector images easier http://raphaeljs.com
page 109
- jQuery download - Free download for the latest version of jQuery http://jquery.com/download/
page 110
- Paulirish.com - Website with info on protocol-relative URLs www.paulirish.com/2010/the-protocol-relative-url/
page 115
- The jQuery UI project - Website that provides useful user interface widgets for web apps http://jqueryui.com
page 121
- Selectors - List of all selectors that select elements using jQuery http://api.jquery.com/category/selectors/
page 122
- HTML Dog CSS Tutorials - Basic, intermediate and advanced tutorials for an overview on CSS www.htmldog.com/guides/css/
- Max Design - Refresher on available selectors via their 'Selectutorial' page http://css.maxdesign.com.au/selectutorial/
- Mozilla selectors - Other option for refresher on available selectors online https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Getting_started/Selectors/
page 130
- Manipulation functions - List of functions that allow for webpage altering and manipulation http://api.jquery.com/category/manipulation/
page 133
- Add multiple class names to one tag - Info on the technique www.cvwdesign.com/txp/article/177/use-more-than-one-css-class
page 146
- CSS float - Property of CSS style for visual effect http://css.maxdesign.com.au/floatutorial/
Chapter 5: Action/Reaction: Making Pages Come Alive with Events
page 153
- Events - List of jQuery events and their functions http://api.jquery.com/category/events/
page 162
- Letteringjs - JavaScript function that allows you to change the typography of webpage http://letteringjs.com
page 167
- Off ( ) function - A jQuery function that removes events http://api.jquery.com/off/
page 172
- Delegation - jQuery event using the on () function http://api.jquery.com/on/
page 178
- jQuery Traversing - List of more functions with jQuery http://docs.jquery.com/Traversing
Chapter 6: Animations and Effects
page 187
- CSS absolute positioning - More info online www.elated.com/articles/css-positioning
page 193
- jQuery easing plug-in - List of easing methods http://api.jqueryui.com/easings/
page 196
- Effects queue - Info, examples and demos can be found online http://api.jquery.com/jQuery.queue/
page 203
- CSS transitions and animations - List of CSS properties that browsers can animate https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animated_properties
- The Black Brick Road of Oz - Animated adventure story by Rachel Nabors using CSS3 animations and jQuery http://codepen.io/rachelnabors/full/lqswg
page 204
- CSS transitions - Animate changes in CSS properties www.css3files.com/transition/
- CSS animations - Add more control than transitions www.css3files.com/animation/
page 208
- Controlling CSS animations with JavaScript - Article on running jQuery code after CSS animation is done running http://blog.teamtreehouse.com/using-jquery-to-detect-when-css3-animations-and-transitions-end
Chapter 7: Common jQuery Tasks
page 220
- Rollover effect with CSS - Article on how to use CSS for a rollover effect http://kyleschaeffer.com/development/pure-css-image-hover/
page 229
- To open a new window or not with external links - Article on the strategy of opening external links in new windows www.useit.com/alertbox/990530.html
- W3C validator - HTML validator site http://validator.w3.org/
page 234
- Window.open( ) method - Examples of JavaScript programming that use this method http://experiments.instrum3nt.com/markmahoney/ball/ and http://thewildernessdowntown.com/
page 235
- All Is Not Lost website - Examples of JavaScript programming methods in action http://www.allisnotlo.st/
- jQuery ScrollTo plug-in - A simple way to control document scrolling https://github.com/flesler/jquery.scrollTo
page 236
- jQuery plug-ins - Directory of useful plug-ins http://plugins.jquery.com as well as Sitepoint.com, and WebDesignerDepot.com
page 237
- Wow slider - jQuery plug-in that creates animated sliders http://wowslider.com
page 238
- Github - Hosts open source projects http://github.com
page 241
- SmartMenus - a jQuery plug-in that allows for drop-down menus and easy navigation www.smartmenus.org
page 244
- HTML Dog - Website for a refresher on creating HTML lists www.htmldog.com/guides/htmlbeginner/lists/
page 247
- More info on SmartMenus plug-in www.smartmenus.org/docs/
page 249
- jPanel plug-in - Creates panel-style menus http://jpanelmenu.com
- Multi-level Push Menu plug-in - Menu system that stays at the side of the screen http://multi-level-push-menu.make.rs/
- Navigation plug-ins - List of 15 jQuery plug-ins http://speckyboy.com/2013/08/01/15-responsive-navigation-jquery-plugins/
Chapter 8: Enhancing Web Forms
page 252
- HTML forms - List and articles on HTML controls and how to use them https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Forms
page 273
- jQuery Validation plug-in - Checks that form fields and requirements are met http://jqueryvalidation.org
page 280
- jQuery Validation plug-in options - List can be found here http://jqueryvalidation.org/validate
page 284
- Ajax Validation - Method demo at http://jquery.bassistance.de/validate/demo/captcha/
Chapter 9: Expanding Your Interface
page 299
- jQuery UI - An advanced jQuery plug-in that allows for many effects, interactions and widgets http://jqueryui.com
page 300
- The jQuery Foundation - A non-profit organization that promotes the development of jQuery and other projects https://jquery.org
page 301
- jQuery UI API - Demonstrations and info on how the jQuery UI works and its capabilities http://api.jqueryui.com/
- jQuery UI contributors - List of people who have help build jQuery UI to what it is now https://github.com/jquery/jquery-ui/blob/master/AUTHORS.txt
page 302
- Kendo UI - A jQuery UI alternative for web and mobile apps www.telerik.com/kendo-ui
- Wijmo UI - Another jQuery UI alternative http://wijmo.com
- jQWidgets - Another jQuery UI alternative www.jqwidgets.com
page 310
- jQuery Dialog widget - A jQuery function that allows you to adjust dialog boxes http://api.jqueryui.com/dialog/
page 318
- jQuery UI position utility - A property of jQuery UI that allows for perfect positioning of objects on the screen http://api.jqueryui.com/position/
page 333
- Location object - Provided by the browser window, and holds a lot of info about the URL and properties https://developer.mozilla.org/en-US/docs/Web/API/Location
page 341
- jQuery UI Theming - List of icons based on themes http://api.jqueryui.com/theming/icons/
Chapter 10: Forms Revisited
page 354
- jQuery UI Datepicker formats - List of date formats the Datepicker widget accepts http://api.jqueryui.com/datepicker/#utility-formatDate
- jQuery UI Datepicker options, events, and methods - List of options for the Datepicker widget http://api.jqueryui.com/datepicker/
page 365
- jQuery UI Selectmenu - A widget in jQuery UI that allows for changes on a selected item on the page http://api.jqueryui.com/selectmenu/
page 368
- jQuery UI Button - A widget in jQuery UI that allows for customizing buttons on the page http://api.jqueryui.com/button/
page 379
- jQuery UI Autocomplete - Allows you to add search field functionality http://api.jqueryui.com/autocomplete/
Chapter 11: Customizing the Look of jQuery UI
page 385
- jQuery UI Themeroller - Plug-in that allows you to create custom style sheets http://jqueryui.com/themeroller/
Chapter 12: jQuery UI Interactions and Effects
page 403
- jQuery UI cursor - Can be customized with a CSS value https://developer.mozilla.org/en-US/docs/Web/CSS/cursor
page 408
- jQuery UI Draggable - A widget in jQuery UI that allows you to track info and events when an item is being dragged on the screen http://api.jqueryui.com/draggable/
page 410
- CSS transform - Property that scales an element https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Using_CSS_transforms, and http://www.sitepoint.com/css3-transformations-2d-functions/
page 416
- jQuery UI Droppable - A widget in jQuery UI that allows you to include effects when an item is dropped, dragged over or off of an item http://api.jqueryui.com/droppable/
page 432
- jQuery UI Sortable - A widget in jQuery UI that allows you to create events based on the sortable ( ) function http://api.jqueryui.com/sortable/
page 436
- Serialize - A method that allows you to provide options that control the format of the string returned by the method http://api.jqueryui.com/sortable/#method-serialize
page 437
- jQuery UI Resizable - A widget used by the dialog widget to allow users to resize them http://api.jqueryui.com/resizable/
page 438
- jQuery UI Selectable - A widget that allows users to select and highlight items by clicking them http://api.jqueryui.com/selectable/
page 442
- jQuery UI Effects - Functions, widgets, and methods that allow for many effects http://api.jqueryui.com/category/effects/
- jQuery UI Easings - Functions that allow for effects through the options object http://api.jqueryui.com/easings/
page 443
- CSS transitions - Work with the browser' s=' built-in=' css=' rendering=' engine=' https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Using_CSS_transitions
page 444
- jQuery UI toggleClass - A method that removes a class from an element if that class is in place http://api.jqueryui.com/toggleClass/
- Effects Core - Page that explains more about jQuery UI methods http://api.jqueryui.com/category/effects-core/
Chapter 13: Introducing Ajax
page 449
- jQuery Raty - star-rating widget that allows users to rate items www.wbotelhos.com/raty/
page 452
- WAMP - Free installer for Windows for Apache, PHP and MySQL www.wampserver.com/en/
- MAMP - Program for Mac that includes Apache, PHP, and MySQL www.mamp.info/en
- IIS - Microsoft program that allows you to create Ajax applications you'd like to use on your real website; Turn on instructions for Windows 8 https://www.youtube.com/watch?v=mRm9-Xddt2w
page 454
- Status response - A number indicating how the server responded to a given request www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
page 455
- PHP 101 - Website to learn PHP http://devzone.zend.com/6/php-101-php-for-the-absolute-beginner/
- W3Schools - Website for the beginning PHP programmer www.w3schools.com/PHP
page 471
- Learn more about XML http://www.webucator.com/tutorial/learn-xml/xml-basics.cfm
- jQuery's find ( ) function - Info here http://api.jquery.com/find
page 474
- PHP-based login script - Demo http://www.wikihow.com/Create-a-Secure-Login-Script-in-PHP-and-MySQL
page 482
- jQuery's each ( ) function - Loops through JSON objects to perform tasks on nested objects http://docs.jquery.com/Utilities/jQuery.each#objectcallback
page 484
- Flickr feeds - Full list of Flickr feeds for different types of photos www.flickr.com/services/feeds/
- Specific Flickr account URL - To access photos from specified Flickr accounts http://api.flickr.com/services/feeds/photos_public.gne
page 485
- Flickr ID - Obtained if you know the Flickr username http://idgettr.com/
Chapter 14: Building a To-Do List Application
page 510
- Detach ( )- A jQuery method that removes elements but keeps all the data related to them http://api.jquery.com/detach/
page 517
- Local storage - A feature all current browsers has that allows you to save data to the user's computer and call that data back on the user's next visit to the page https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Storage
- jQuery Storage API - Plug-in that makes local storage easy https://github.com/julien-maurel/jQuery-Storage-API
- Build your skills - The to-do list project that you can improve https://github.com/sawmac/jquery-todo
Chapter 15: Getting the Most from jQuery
page 522
- Prototype - JavaScript library that uses $( ) www.prototypejs.org
- noConflict - jQuery function that deals with using jQuery( ) and $( ) methods http://api.jquery.com/jQuery.noConflict/
page 525
- Selector test - Online speed test for the .find( ) function http://jsperf.com/sawmac-selector-test
page 526
- jQuery Docs - Detailed documentation for jQuery http://api.jquery.com/
- Selectors - Web page that offers access to the most helpful jQuery functions http://api.jquery.com/category/selectors/
page 527
- Attributes - Web page that lists functions that get and set attributes of HTML elements http://api.jquery.com/category/attributes/
- Traversing - Functions used to manipulate a set of page elements http://api.jquery.com/category/traversing/
- Manipulation - Web page list of functions for changing pages http://api.jquery.com/category/manipulation/
- The CSS page - jQuery list of functions for reading and setting CSS elements http://api.jquery.com/category/css/
- Events - List of jQuery's event-related functions http://api.jquery.com/category/events/
- Effects page - Information on jQuery's effects-related functions http://api.jquery.com/category/effects/
- Forms category - List of functions related to forms http://api.jquery.com/category/forms/
page 528
- Ajax page - List of functions for updating pages via info sent to or received from web server http://api.jquery.com/category/ajax/
- Utilities - List of functions for simplifying programming tasks http://api.jquery.com/category/utilities/
- Data page - Lists functions to add data to page elements http://api.jquery.com/category/data/
- Deferred Object page - Info on deferred object functions http://api.jquery.com/category/deferred-object/
- Dimensions page - List of functions that determine width and heights of objects on a page http://api.jquery.com/category/dimensions/
- Internal page - List of functions of various degrees of usefulness http://api.jquery.com/category/internals/
page 529
- Offset page - List of functions to determine position of an object in relation to the screen or parent element http://api.jquery.com/category/offset/
page 535
- Traversing the DOM - Finding other page elements in relation to the original selection http://api.jquery.com/category/traversing/
page 539
- HTML manipulation - List of jQuery functions for adjusting HTML to your liking http://api.jquery.com/category/manipulation/
Chapter 16: Going Further with JavaScript
page 553
- Regular Expression Library - Complete library of regular expressions www.regexlib.com
- Regular expression postal code match - Website for international postal code format matching http://regexlib.com/Search.aspx?k=postal+code
page 554
- Regular expression phone number match - Website for international phone number format matching http://regexlib.com/Search.aspx?k=phone+number
page 574
Javascript Pdf Download
- Date object - Computes dates and takes location into account https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date
page 585
- JavaScript compressors - Programs that minimize the space JavaScript takes up http://crockford.com/javascript/jsmin.html, http://dean.edwards.name/packer
- YUI Compressor - Yahoo's JavaScript compressor (recommended) http://developer.yahoo.com/yui/compressor
- YUI Compressor online http://www.refresh-sf.com/yui/
Appendix A: JavaScript Resources
page 619
References
page 620
Basic JavaScript
jQuery
page 621
Advanced JavaScript
page 622