Which of the following might be found in the confirmPassword() function referenced in the accompanying figure in order to verify that the password and confirm password are the same?
A. if (document.password_confirm.value == document.password.value)
B. if (document.forms[1].password.value != document.forms[0].password.value)
C. if (document.forms[0].password_confirm.value != document.forms[0].password_confirm.value)
D. if (document.forms[0].password_confirm.value != document.forms[0].password.value)
Answer: D
Computer Science & Information Technology
You might also like to view...
When you evaluate a camera's picture quality, the resolution is expressed in ________
A) gigapixels B) megapixels C) micropixels D) macropixels
Computer Science & Information Technology
The PictureBox control is used to display:
a) text and images b) only images c) only text d) colors
Computer Science & Information Technology