1. Hi, I recently bought shared hosting at asphostportal.com. Now, I have little problem. Could you help me please? How to Call JS from Codebehind? I use this code for call JS function from codebehind.

    This is button click event.

    ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "myfunction", "testFunc();", true);

    This is the code of JS.

     function testFunc() {
     document.getElementById("Text1").value = "value change";
     //Text1 is html a text box

    It's not change the value of the text box. But if i add alert, it is showing the alert which we can identify that the JS function is executing successfully.

    What could be the problem of my code?