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:
<script type="text/javascript">
$(document).ready(function () {
$("#imgMail").click(function (htm) {
$.get("mailform.html"),
$("#mailForm").append(htm)); //i have tryed also with .html() function.
});
});
</script>
where #imgMail is the ID of the link/button and the #mailForm is the ID of the DIV element into load the content.
How can i resolve this problem? P.S. The elements are not into a form tag.
Thanks.