Chapter 4. JavaScript in a Web Browser

After completing this chapter, you will be able to

  • Install and use jQuery

  • Install and use jQuery UI

  • Work with the Browser Object Model

  • Work with the Document Object Model

THROUGHOUT THE BOOK SO FAR, you’ve used a web browser to view the results of your JavaScript programming efforts. You’ve also gained a sense of the central role that the web browser plays in JavaScript and for JavaScript programming. And with that, you’ve only scratched the surface of how JavaScript interacts with the browser.

The Document Object Model, or DOM, is the interface through which JavaScript works with webpages. Just as JavaScript is defined by the ECMA-262 specification, the DOM is defined by the World Wide Web Consortium (W3C). ...

Get Microsoft® Start Here!™ Learn JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.