Asp.net Set Textbox 1 to Equal Textbox 2

Posted by aron on Stack Overflow See other posts from Stack Overflow or by aron
Published on 2010-06-14T18:01:31Z Indexed on 2010/06/14 18:12 UTC
Read the original article Hit count: 132

Filed under:
|

Hello, What's the cleanest way, like 1 line of JavaScript code, to set one text box's text property to equal another?

e.g. the JavaScript way to accomplish this:

txtShipCity.Text = txtCity.Text;

Thanks!

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about JavaScript