Autopostback textbox not retaining the values across postbacks with nested form tags
<p>Here the textbox with id as "a" retains the value after postbacks while textbox with id as "b"  not retains the value.Why this happens?    </p>

<pre><code>&lt;form id="form1" runat="server"&gt;
        &lt;div&gt;
         &lt;asp:TextBox ID="a" runat="server"  AutoPostBack="true" &gt;&lt;/asp:TextBox&gt;
            &lt;form action="javascript:myFunc();"&gt;
            &lt;p&gt;
                &lt;input type="text" id="city-field" name="city" " /&gt;
                &lt;input type="submit" value="Find" /&gt;&lt;/p&gt;
            &lt;/form&gt;
        &lt;/div&gt;
           &lt;asp:TextBox ID="b" runat="server"  AutoPostBack="true" &gt;&lt;/asp:TextBox&gt;
        &lt;/form&gt;
</code></pre>
