Copy contents of one textbox to another

后端 未结 7 1194
梦毁少年i
梦毁少年i 2021-02-02 00:38

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?


      
7条回答
  •  无人共我
    2021-02-02 01:04

    Use event "oninput". This gives a more robust behavior. It will also trigger the copy function when you copy paste.

提交回复
热议问题