Copying data from one text box to another in html automatically.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • saiprasanthi
    New Member
    • Oct 2006
    • 7

    Copying data from one text box to another in html automatically.

    Hi,

    I want to copy data from one text box to another in html automatically ie., as I edit the first text box the second one should reflect the same spontaneously.. . can you help me???

    Thanks in advance.
  • Akhilesh1505
    New Member
    • Feb 2007
    • 17

    #2
    Originally posted by saiprasanthi
    Hi,

    I want to copy data from one text box to another in html automatically ie., as I edit the first text box the second one should reflect the same spontaneously.. . can you help me???

    Thanks in advance.
    Hi

    If you want to use javascript then just take value of first text box and put them in second text box like... document.frm.se cond.value = document.frm.on e.value on the onblur event of first text box.

    Comment

    • AricC
      Recognized Expert Top Contributor
      • Oct 2006
      • 1885

      #3
      Originally posted by saiprasanthi
      Hi,

      I want to copy data from one text box to another in html automatically ie., as I edit the first text box the second one should reflect the same spontaneously.. . can you help me???

      Thanks in advance.
      I don't think you can use HTML alone to do this. The quickest way like said above is to use javascript.

      Aric

      Comment

      Working...