<html> <head> <title></title> </head> <body> <input id="Text1" type="text" onchange="alert(this.value)" /> </body> </html>
<input id="Text1" type="text" onkeypress="alert(this.value)" />
<html> <head> <script src="http://code.jquery.com/jquery-latest.js"></script> <script> $(document).ready(function () { $("#text1").keypress(function() { var text1Value = $("#text1").val(); $("#text2").val(text1Value); $("#text3").val(text1Value); }); }); </script> </head> <body> <form> <fieldset> <input id="text1" type="text" value="1" /> <input id="text2" type="text" value="2" /> <input id="text3" type="text" value="3" /> </fieldset> </form> </body> </html>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)