O'Reilly logo

JavaScript in 24 Hours, Sams Teach Yourself, Sixth Edition by Phil Ballard

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

Hour 4. DOM Objects and Built-in Objects

What You’ll Learn in This Hour:

Image Talking to the user with alert(), prompt(), and confirm()

Image Selecting page elements with getElementById()

Image Accessing HTML content with innerHTML

Image How to use the browser history object

Reloading or redirecting the page using the location object

Getting browser information via ...

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