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