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

Programming Buttons

To give you a hint of the things to come over the next couple of chapters, I'll close this chapter by showing you how to use JavaScript to program the three types of form command buttons: Submit, Reset, and Button.

Accepting or Rejecting a Submit

One of JavaScript's most important jobs is validating form data before it gets sent to the server. In fact, this is such an important task that I've devoted an entire chapter to it, later in this book.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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