With ASP.Net Ajax, you can get the server side controls from Javascript using ASP.Net Ajax javascript API. With this feature will be helpful for developers, whom wish to play around Page methods in ASP.Net Ajax.
function getValueInText()
{
var myText = $get("MyText");
alert(myText.value);
//You can also set the value of the Textbox using the same method.
myText.value = "This is updated";
}
In the above code, MyText is a server side asp.net textbox.
You can get more information about all this from ASP.Net Ajax official site.