Monday 15 December 2014

Dispaly value of one textbox to another textbox using Javascript

 

 Just Copy & Past the Blow Code...


<script>
function copyText2() {
Liberoram = document.getElementById("Liberoram");
copytext= document.getElementById("copytext");
copytext.value = Liberoram.value;
}
</script>

<div>
TextBox 1 : <input type="text" id="Liberoram" onkeyUp="copyText2()"></input>
TextBox 2 : <input type="text" id="copytext"></input>
</div>



Demo
 
TextBox 1 : TextBox 2 :

No comments:

Post a Comment