我怎样才能将值从文本框传递给自身事件

时间:2012-08-28 13:32:40

标签: javascript asp.net javascript-events

如何将值从文本框传递给自身事件?

 <asp:TextBox runat="server" ID="txtEmail" onblur="SendRequest()">this_text_I_want_to_put_as_param_to_SendRequest</asp:TextBox>

1 个答案:

答案 0 :(得分:3)

<asp:TextBox 
    runat="server" 
    ID="txtEmail" 
    onblur="SendRequest(this.value)">
    this_text_I_want_to_put_as_param_to_SendRequest
</asp:TextBox>