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)
Correct Answer:
Verified
Q1: Which script block will display Hello World
Q2: Consider the following code: Q4: Which statement is true about the getElementByID() Q5: Which choice best defines events and event Q6: Suppose you define two variables as follows: Q7: Consider the following code: Q8: Which statement about the JavaScript form object Q9: Consider the following code: Q10: Consider the following message displayed in a Q11: What is the purpose of the prototype Unlock this Answer For Free Now! View this answer and more for free by performing one of the following actions Scan the QR code to install the App and get 2 free unlocks Unlock quizzes for free by uploading documents