Chapter 11. Back to the Browser

This chapter covers

  • Getting to grips with the Document Object Model
  • Working with the DOM using Prototype
  • Developing with HTML Forms using Prototype

We’ve spent several happy chapters exploring the workings of the JavaScript language. Now it’s time to remind ourselves that we’re using JavaScript to develop web applications. All of our lovely code is going to be running inside a web browser, and that means we’ll be using the browser-specific features of the JavaScript interpreter to get things done.

We’ve already seen in part 2 of the book how Scriptaculous can provide us with a lot of browser user interface (UI) elements out of the box. However, there are times when we’ll want to manipulate the browser UI at ...

Get Prototype and Scriptaculous in Action 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.