CIW
1D0-635 · Question #40
Consider the following code: What is the appropriate parameter for the alert() method in line 5 to reference the text in the firstName text box?
The correct answer is B. document.myForm.firstName.value. See the full explanation below for the reasoning.
Question
Consider the following code:
What is the appropriate parameter for the alert() method in line 5 to reference the text in the firstName text box?
Exhibit
Options
- Adocument.myForm.value(firstName)
- Bdocument.myForm.firstName.value
- Cwindow.myForm.firstName.value
- Dwindow.myForm.text(firstName)
How the community answered
(36 responses)- A17% (6)
- B72% (26)
- C8% (3)
- D3% (1)
Community Discussion
No community discussion yet for this question.
