我有 2 个文本框,如果我在 textbox1 中写任何东西,它应该立即反映在 textbox2 中,如果我在 textbox2 中写任何东西,它应该反映在 textbox1 中。
那么我该怎么做呢?我之前看过这篇文章以及如何在两个文本框之间实现?
http://www.zurb.com/playground/jquery-text-change-custom-event
这是我的文本框:
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>