jQuery AJAX and ASP.NET
<p>I have this little problem...
I have this asp.net website.
I have a menu, all done with html and css.
So when I click on home, the ajax loads the other content into the specified div element.
Working 100%.</p>

<p>In the content that was loaded into the div element, I have a button. An ASP.NET button.</p>

<p>When I click on the button, it gives me a "The resource cannot be found." error.</p>

<p>There must be something I am missing. If you dont understand, heres the ajax:</p>

<pre><code>//Load the Home page on click.
$(document).ready(function () {
    $('.home').click(function () {
        $("#content").load("html/home/home.aspx");
    });
});
</code></pre>

<p>Now the aspx page that was loaded into the content div, displays a button, btnAdd:</p>

<pre><code>&lt;asp:Panel ID="pnlAddNewBlog" runat="server"&gt;
    &lt;asp:TextBox ID="txtAddNewBlog" runat="server" TextMode="MultiLine"&gt;&lt;/asp:TextBox&gt;
    &lt;br /&gt;
    &lt;asp:Button ID="btnAdd" runat="server" Text="Add" /&gt;
&lt;/asp:Panel&gt;
</code></pre>

<p>When I click on that button, the error appears.</p>

<p>What I want to achieve is to: when the user clicks on the button, the text in txtAddNewBlog gets added into a database. Now this I can achieve using C#... but not if this error is in my way. Any ideas?</p>
