Is anything wrong in the source i written
<p>I write a code to print the value of a textbox to another textbox but i am unable to achieve this can any one tell what's wrong or can any give me equivalent <code>JavaScript</code> to achieve this</p>

<pre><code> &lt;form id="form1" runat="server"&gt;
    &lt;div&gt;
        &lt;asp:TextBox ID="TextBox1" runat="server"&gt;&lt;/asp:TextBox&gt;
        &lt;asp:TextBox ID="TextBox2" runat="server"&gt;&lt;/asp:TextBox&gt;

        &lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jQuery/1.2.6/jQuery.min.js"&gt; 
        &lt;/script&gt;

        &lt;script type="text/javascript"&gt;
$('#TextBox1').keyup(function(){
$('#TextBox2').val(this.value);
});
        &lt;/script&gt;

    &lt;/div&gt;
&lt;/form&gt;
</code></pre>
