is it possible to copy the data to another textbox in asp.net
if i enter the name as celv in runtime in textbox1 . i need the same data as celv in textbox without typing
Refer this
HTML
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <script type="text/javascript"> function OnTextKeyUp(txt) { document.getElementById("txtConfirEmail").value = txt.value; } </script> </head> <body> <table cellpadding="5" cellspacing="5"> <tr> <td> Email: </td> <td> <input id="txtEmail" type="text" name="name" value=" " onkeyup="OnTextKeyUp(this);" /> </td> </tr> <tr> <td> Confirm Email: </td> <td> <input id="txtConfirEmail" type="text" name="name" value=" " /> </td> </tr> </table> <br /> </body> </html>
Demo
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.