What is the appropriate parameter for the alert() method in line 5 to reference the text in the firstName text box?

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?

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?

A.
document.myForm.value(firstName)

B.
document.myForm.firstName.value

C.
window.myForm.firstName.value

D.
window.myForm.text(firstName)

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *