MCQs > IT & Programming > JavaScript > A form contains two fields named id1 and id2. How can you copy the value of the id2 field to id1?

JavaScript MCQs

A form contains two fields named id1 and id2. How can you copy the value of the id2 field to id1?

Answer

Correct Answer: document.forms[0].id1.value=document.forms[0].id2.value

Explanation:

Note: This Question is unanswered, help us to find answer for this one

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it