115
rated 0 times
[
117]
[
2]
/ answers: 1 / hits: 34177
/ 12 Years ago, tue, june 26, 2012, 12:00:00
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.
More From » c#