JavaScript Manipulating Documents

The main reason we went through all this pain learning JavaScript was to create interactive web pages with dynamic content that the user has control over.

JavaScript has excellent support for web document manipulation and we will get to know the various browser APIs that help us in this endeavour.