O'Reilly logo

Absolute Beginner’s Guide to Creating Web Pages by Todd Stauffer

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 17. Introduction to JavaScript

The last few chapters showed you how to use HTML forms and CGI scripts to interact with the user. CGI requires access to the server computer (at least the cgi-bin folder). JavaScript, on the other hand, works within the browser (assuming the browser is compatible with it). That means you can use it for small scripting tasks or for very complex tasks that don’t involve the server at all.

It’s also a pretty involved topic. See Chapter 18, “JavaScript and User Input,” to take a closer look at some of the tasks you can perform with JavaScript that have to do specifically with user interaction. Then, in Chapter 19, “Adding Dynamic HTML,” the use of JavaScript is shown with dynamic HTML.

This chapter discusses the ...

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