O'Reilly logo

JavaScript for Sound Artists by Steve Leonard, William Turner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

9  DOM Programmingwith JavaScript

This chapter shows you how to add JavaScript to CSS and HTML. By the end of the chapter, you will have created a fully functioning application with interactive controls.

Images  How Does JavaScript Communicate with the DOM?

The DOM (Document Object Model) contains a collection of JavaScript properties and methods that allows you to manipulate HTML elements and to write code that responds to user-invoked actions such as mouse clicks and form submissions. Typically, when writing an application, you want to ask yourself two things. The first is, what do you want or expect the user to do? The second is, what should happen ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required