robert_gsfame Posted May 9, 2010 Share Posted May 9, 2010 How can i have pass the value from one textbox into another textbox once type so its like if i type= "ABCD" in the first textbox then the second textbox will automatically copied thx Quote Link to comment Share on other sites More sharing options...
ram4nd Posted May 9, 2010 Share Posted May 9, 2010 if you would use javacript framework like jquery. Then its more simple to do things and also tutorials about everytihing. Quote Link to comment Share on other sites More sharing options...
robert_gsfame Posted May 9, 2010 Author Share Posted May 9, 2010 dont have any idea with Jquery Quote Link to comment Share on other sites More sharing options...
F1Fan Posted May 9, 2010 Share Posted May 9, 2010 <input type="text" onkeyup="document.getElementById('secondText').value=this.value;"> <input type="text" id="secondText"> Quote Link to comment Share on other sites More sharing options...
brianlange Posted May 9, 2010 Share Posted May 9, 2010 Example with jQuery. First textarea with id=t1, second textarea id = t2. $(document).ready(function() { $('#t1').keyup(function() { $('#t2').text(this.value); }); }); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.