O'Reilly logo

Teach Yourself VISUALLY™ HTML and CSS by Linda Wooldridge, Mike Wooldridge

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

Chapter 13. Working with JavaScript

Looking for ways to add action and interest to your Web site? JavaScript can help you add interactivity to your HTML documents. This chapter shows you how to use JavaScript code to make your pages more interesting to people who visit your Web site.

Working with JavaScript

Understanding JavaScript. 252

Understanding Script Events and Handlers 254

Add JavaScript to a Web Page 256

Create a JavaScript File 257

Hide JavaScript 258

Add Alternative Text 259

Insert the Current Date and Time. 260

Display an Alert Message Box 261

Display a Pop-Up Window 262

Customize the Status Bar Message for a Link 263

Create an Image Rollover Effect 264

Validate Form Data ...

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