How to handle ASP.NET textbox client side events?

function(s, e)
{

alert(s.GetValue());

anotherTextBoxClientİnstanceName.SetValue('asdsd');

}