Practice Quiz 1

  1. group[0, 0] refers to the 1st Array within and the 1st  element within that Array
    A. true
    B. false
  1. a Form can only be submitted by using the Submit Button
    A. true
    B. false

<A HREF="http://sislands.com/jscript" onClick="return false;">
<A HREF="javascript:void(null)">

  1. the 2 statements above produce the same results
    A. true
    B. false
  1. Form validation can be done either on the Client side or the Server side
    A. true
    B. false

<FORM onSubmit="tester(this); return false;">

  1. The above statement causes the Form’s information to be send to the server
    A. true
    B. false
  1. if the word is JavaScript then /^script/ will be true
    A. true
    B. false
  1. str = str.replace(/^\s+/, ""); "gets rid" of  the trailing spaces
    A. true
    B. false
  1. the Property type identifies what type of Form element it is
    A. true
    B. false

if (form.First.value.length == 0) msg += "First Name" + LB;
if (form.First.value == "") msg += "First Name" + LB;

  1. the 2 statements above are "equivalent"
    A. true
    B. false
  1. Attritubes of a Form
    A. ACTION
    B. TARGET
    C. METHOD
    B. none of the above

You have:    answers correct out of a possible ten.

The question numbers that were not correct are: