• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Summary

In this chapter, you saw some advanced JavaScript issues focusing on how to react to user input. The chapter began with a discussion of event handlers and how they’re used in conjunction with JavaScript function definitions to create scripts that respond to the user. The chapter then took a fairly in-depth look at some of the main objects of the Document Object Model, all of which can be useful for altering document, window, and page properties using a script.

After that, the chapter turned to using the DOM, event handlers, and JavaScript to respond to user’s input in HTML forms. You saw how to check the data that is input into form elements, as well as how to create a form that is completely processed in JavaScript and then sent via e-mail, bypassing the CGI script approach that was discussed in Chapter 16, “CGIs and Data Gathering.”


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint