textbox value set in javascript is not avaliable in serverside page load event
<p>I have following situation.I have set a textbox value by calling a JavaScript function from serverside.The textox value is assigned perfectly but it is not on server side it is showing blank.
This is my code.</p>

<pre><code>Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    If Not IsPostBack Then
        Page.ClientScript.RegisterStartupScript(Me.GetType(), "set", "setValue();", True)
        TextBox1.Text = txt.Text
    End If
End Sub
</code></pre>

<p>and This is my javascript function.</p>

<pre><code> &lt;script type="text/javascript"&gt;
    function setValue() {
        document.getElementById("&lt;%=txt.ClientID  %&gt;").value = "Hello World";
    }

&lt;/script&gt;
</code></pre>

<p>and here is my mark up</p>

<pre><code>&lt;form id="form1" runat="server"&gt;
    &lt;div&gt;
        &lt;asp:TextBox ID="txt" runat="server"&gt;
        &lt;/asp:TextBox&gt;
        &lt;asp:TextBox ID="TextBox1" runat="server"&gt;
        &lt;/asp:TextBox&gt;
        &lt;asp:Button ID="btnClic" runat="server" Text="Click Me" /&gt;
    &lt;/div&gt;
&lt;/form&gt;
</code></pre>

<p>The first texbox value is assigned perfectly.but it was not showin on second textbox.</p>
