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

Quiz

Test your knowledge of JavaScript's form objects by answering the following questions.

Questions

  1. Where do you place the onSubmit event handler to validate a form?

    1. In the <body> tag

    2. In the <form> tag

    3. In the <input> tag for the Submit button

  2. What can JavaScript do with forms that a CGI script can't?

    1. Cause all sorts of problems

    2. Give the user instant feedback about errors

    3. Submit the data to a server


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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