1、<asp:TextBox ID="tb_number" runat="server" Text='<%# Eval("number") %>' Width="50px" onkeyup="buyMode(this.id)"></asp:TextBox>
2、 function buyMode(textid) { alert(textid); }