您好,我有一个中继器控件
<asp:Repeater ID="rptCashCome" runat="server">
<ItemTemplate>
<asp:TextBox ID="txtCurrencyNo" onkeyup="javascript:CallFunction()" CssClass="mws-textinput" runat="server"></asp:TextBox>
<asp:TextBox ReadOnly="True" ID="txtTotal" CssClass="mws-textinput" runat="server"></asp:TextBox>
</ItemTemplate>
</asp:Repeater>
我有一个 Jquery 函数
function CallFunction() {
//code here i want something like. txtCurrencyNo* 500 = txtTotal
// something like calculative here. but how will i find the Control ID of repeater ?
}
这个函数被调用。但是我如何根据文本框 KeyUp 进行计算?我如何在这里找到控件 ID?