I have an asp:TextBox
that looks like the following
<asp:TextBox runat="server" AutoPostBack="True" ID="txtG1" ontextchanged="txtG1_TextChanged" onmouseout="javascript:RefreshIt(this)"/>
and a Javascript function RefreshIt()
that correctly fires each time I mouseout of the textbox.
I'm trying to have the mouseout event trigger the ontextchanged
event of the asp:TextBox
.
Various Stck Overflow posts have recommended the following techniques, which do not seem to work:
function RefreshIt(selectObj){
selectObj.ontextchanged();
}
function RefreshIt(selectObj){
selectObj.fireEvent('ontextchanged');
}
Any help would be appreciated.