Suppose an entry is made in a textbox. Is it possible to retain the same entered text in a second text box? If so, how is this done?
You can this way also used copy contents of one textbox to another
function populateSecondTextBox() { document.getElementById('txtSecond').value = document.getElementById('txtFirst').value; }
Write Here : Will be copied here :