TY - BOOK AU - Myers, Mark TI - A smarter way to learn Javascript: Mark Myers SN - 9781497408180 U1 - 006.74 MYE PY - 2014/// CY - Charleston, SC PB - ASmarterWayToLearn.com N1 - Includes index; Alerts -- Variables for strings -- Variables for numbers -- Variable names legal and illegal -- Math expressions: familiar operators -- Math expressions: unfamiliar operators -- Math expressions: eliminating ambiguity -- Concatenating text strings -- Prompts -- if statements -- Comparison operators -- if ... else and else if statements -- Testing sets of conditions -- if statements nested -- Arrays -- Arrays: adding and removing elements -- Arrays: removing, inserting, and extracting elements -- for loops -- for loops: flags, Booleans, array length, and loopus interruptus -- for loops nested -- Changing case -- Strings: measuring length and extracting parts -- Strings: finding segments -- Strings: finding a character at a location -- Strings: replacing characters -- Rounding numbers -- Generating random numbers -- Converting strings to integers and decimals -- Converting strings to numbers, numbers to strings -- Controlling the length of decimals -- Getting the current date and time -- Extracting parts of the date and time -- Specifying a date and time -- Changing elements of a date and time -- Functions -- Functions: passing them data -- Functions: passing data back from them -- Functions: local vs. global variables -- switch statements: how to start them -- switch statements: how to complete them -- while loops -- do ... while loops -- Placing scripts -- Commenting -- Events: link -- Events: button -- Events: mouse -- Events: fields -- Reading field values -- Setting field values -- Reading and setting paragraph text -- Manipulating images and text -- Swapping images -- Swapping images and setting classes -- Setting styles -- Target all elements by tag name -- The DOM -- The DOM: parents and children --- The DOM: finding children -- The DOM: junk artifacts and nodeType -- The DOM: more ways to target elements -- The DOM: getting a target's name -- The DOM: counting elements -- The DOM: attributes -- The DOM: attribute names and values -- The DOM: adding nodes -- The DOM: inserting nodes -- Objects -- Objects: properties -- Objects: methods -- Objects: constructors -- Objects: constructors for methods -- Objects: prototypes -- Objects: checking for properties and methods -- Browser control: getting and setting the URL -- Browser control: getting and setting the URL another way -- Browser control: forward and reverse -- Browser control: filling the window with content -- Browser control: controlling the window's size and location -- Browser control: testing for popup blockers -- Form validation: text fields -- Form validation: drop-downs -- Form validation: radio buttons -- Form validation: ZIP codes -- Form validation: email -- Exceptions: try and catch -- Exceptions: throw -- Handling events within JavaScript ER -