Janice needs to create a pop-up window that will open a Web document in a new browser window. Which code statement should she use?
A)

B)

C)

D)

Answer : C
Consider the following code:

What is the result of running this script in a Web browser?
Answer : B
Jaime needs to write a script to remove all the non-digit characters from a phone number so that all that remains are the numbers She knows that she will need to use a regular expression to search for non-digit characters and can use a method to remove all the non-digit characters. Which code should she use?
A)

B)

C)

D)

Answer : B
Consider the following code:

The processform() function is not executed when the submit button is pressed. What change should be made to correct this?
Answer : A
Considering the following code:
Var 1 ;
For (I = 1; I < 10; I ++)
What part of the code fragment initializes the counter variable?
Answer : C
Loni needs to create a scriptable button in her Web form that does not submit the form but instead, calls a custom function What HTML code should she use?
A)

B)

C)

D)

Answer : C
Consider the following code:

The code displays a pop-up alert message if the username is less than 6 characters and submits the form. What change should be made to prevent the form from submitted if the username is less than 6 characters?
Answer : B