1、<asp:TextBox ID="tb_number" runat="server" Text='<%# Eval("number") %>' Width="50px" οnkeyup="buyMode(this.id)"></asp:TextBox>
2、 function buyMode(textid)
{
alert(textid);
}
1、<asp:TextBox ID="tb_number" runat="server" Text='<%# Eval("number") %>' Width="50px" οnkeyup="buyMode(this.id)"></asp:TextBox>
2、 function buyMode(textid)
{
alert(textid);
}
转载于:https://www.cnblogs.com/345563452/archive/2009/04/13/1434603.html