如何将值从文本框传递给自身事件?
<asp:TextBox runat="server" ID="txtEmail" onblur="SendRequest()">this_text_I_want_to_put_as_param_to_SendRequest</asp:TextBox>
答案 0 :(得分:3)
<asp:TextBox
runat="server"
ID="txtEmail"
onblur="SendRequest(this.value)">
this_text_I_want_to_put_as_param_to_SendRequest
</asp:TextBox>