was
this [
^]so difficult?
Say you have a textbox like follows:
<asp:TextBox id="txtMyTextBox" runat="Server" Text="1234"></asp:TextBox>
In javascript do the following to get value:
var value = document.getElementById('<%=txtMyTextBox.ClientID%>').value;