12321321312312


<html>
    <body>
     
    Field1: <input type="text" id="field1" value="Hello World!">
    <br />
    Field2: <input type="text" id="field2">
    <br /><br />
    Click the button below to copy the content of Field1 to Field2.
    <br />
    <button οnclick="document.getElementById('field2').value=
    document.getElementById('field1').value">Copy Text</button>
     
    </body>
    </html> 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章