title: jQuery AJAX: load HTML into DIV element after click
body: <p>i would like to load (or be visible) an HTML/ASP.NET email form after the user clicked in a link/button. I have used this code but it doesn't work:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      $(document).ready(function () {
          $("#imgMail").click(function (htm) {
              $.get("mailform.html"),
                  $("#mailForm").append(htm)); //i have tryed also with .html() function.
          });
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>where #imgMail is the ID of the link/button and the #mailForm is the ID of the DIV element into load the content.</p>
  
  <p>How can i resolve this problem?
  P.S. The elements are not into a form tag.</p>
  
  <p>Thanks.</p>