Set c# value to javascript
Hi,
I want ot send value from C# to Javascript but it is not working.
In C# i have a int value as
int a=25;
and i want to access this a value in javascript.
i am using as
IN C#
int a=25;
TextBox1.Text=a.Tostring();
And In Jscript
Var x = parseInt(document.getElementById(' TextBox1 ').value);
but it is not working.
please help me
Thanks in advance
Pankaj