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.
function Changed(textControl) {
var _txtEmpName = document.getElementById('<%=txtEmpName.ClientID%>');
var _EnteredString = _txtEmpName.value;
<asp:TextBox
ID="txtEmpName" runat="server" onkeyup="javascript: Changed( this );"></asp:TextBox>