Thanks Numan,
I have a textbox in my form and also a button
<asp:TextBox id="txtJS" runat="server" Enabled="False"></asp:TextBox>
<INPUT type="button" onclick="TestJS()" value="
JS">
I am using the following script to populate the textbox from the client side.
function TestJS()
{
document.getElementById("txtJS") = "Hello World";
}
During the postback I am trying to retrieve the value of the textbox
string x = txtJS.Text;
now the variable x returns ""
Thanks again
Regards
Ganesh