JavaScript 24-Hour Trainer

  • 5h 58m
  • Jeremy McPeak
  • John Wiley & Sons (US)
  • 2011

A total learning experience shows how JavaScript works in the real world

A new generation of web browsers has emerged that are specifically optimized for the capabilities of JavaScript. This unique book shows you how to use JavaScript to make web pages more dynamic and interactive so that you can create a first-rate user experience. Assuming little or no previous programming experience, the self-paced lessons guide you through the fundamentals of programming with the JavaScript language and gradually build upon the basics.

JavaScript 24-Hour Trainer:

  • Reviews JavaScript variables, types of data, functions, and control structures
  • Addresses how to avoid common mistakes, debug code, and use best programming practices
  • Explains how to manipulate HTML with JavaScript
  • Walks you through modifying element style
  • Details how to handle events with a cross-browser event utility object
  • Highlights conventions and best practices aimed at helping you write more efficient code
  • Explains how to send and receive data with Ajax and JSON

About the Author

Jeremy McPeak is a professional programmer and analyst who works extensively with JavaScript and C#. He contributed to Professional Ajax and Beginning JavaScript.

In this Book

  • Adding JavaScript to a Web Page
  • Variables and JavaScript Syntax
  • Functions
  • Making Decisions
  • Loops
  • Scope
  • Objects and Built-In Types
  • Custom Objects
  • Prototypes and Inheritance (The Function Object)
  • The Window Object
  • Scripting Windows
  • Scripting Frames
  • The Document Object Model
  • Adding HTML with JavaScript
  • Modifying Element Style
  • Introduction to Events
  • Assigning Event Handlers with HTML Attributes
  • Using Early DOM Event Handlers
  • Using Standard DOM and IE Event Handlers
  • Writing Cross-Browser Event Handlers
  • The Standard Event Object
  • Internet Explorer's Event Object
  • Writing Cross-Browser Event Code
  • Dragging and Dropping
  • Timers and Animating Elements
  • Forms—A Primer
  • Scripting Buttons
  • Scripting Text Elements
  • Scripting Selection Boxes
  • Scripting Checkboxes and Radio Buttons
  • An Introduction to Ajax
  • Using XMLHttpRequest Objects
  • Making Ajax Requests Using GET
  • Making Ajax Requests Using POST
  • JSON
  • Common Coding Mistakes
  • Handling Errors
  • Debugging with Firebug
  • Coding Guidelines
  • Separating JavaScript and HTML
  • Separating JavaScript and CSS
  • Avoiding Global Scope
  • Optimizing Your Code
SHOW MORE
FREE ACCESS

YOU MIGHT ALSO LIKE

Rating 5.0 of 3 users Rating 5.0 of 3 users (3)
Rating 4.5 of 255 users Rating 4.5 of 255 users (255)