asp.net 中
<asp:TextBox ID="TextBoxUserID" runat="server" style="width:160px" οnfοcus="javascript:this.select()"></asp:TextBox>
<input type="text" οnfοcus="this.select()" value="sssssbbbbccc">
c#中
asp.net 中
<asp:TextBox ID="TextBoxUserID" runat="server" style="width:160px" οnfοcus="javascript:this.select()"></asp:TextBox>
<input type="text" οnfοcus="this.select()" value="sssssbbbbccc">
c#中
转载于:https://www.cnblogs.com/weiqt/articles/2051280.html