hey Jagadeesh
Find your Text box inside Java script Function by following way.
var textBox= document.getElementById("Your ASP TextBox Id");
and just assign your javascript Variable value to that textbox variable
like:
textBox = your javascript value;
it working ....
all the best...