Passing a textbox value to javascript on key up function
<p>Here i have passed the text control to the java script function but i just want to pass the value of the text box to the java script function instead on onkeyup. </p>

<pre><code>function Changed(textControl) {
    var _txtEmpName = document.getElementById('&lt;%=txtEmpName.ClientID%&gt;');

    var _EnteredString = _txtEmpName.value;

&lt;asp:TextBox
        ID="txtEmpName" runat="server" onkeyup="javascript: Changed( this );"&gt;&lt;/asp:TextBox&gt;
</code></pre>
