You are collecting the user's details on a webpage form. The id has to be repeated twice on the form, but you want the user to fill it once only. If the name of the first id is id1 and the second (to be auto filled) is id2, which code will you supply to the onkeyup event of id1?
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
More DHTML MCQ Questions