Programming Languages JavaScript Objective
Mar 04, 2013

Which is syntactically correct way to access the any element of form object?  

Choose the correct answer:
A) document.forms.element
B) document[0].forms.element
C) document.forms[0].element
D) document.forms[0].elements[0]
Detailed Explanation

Option D is the right answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback