I need the form to be cleared after the form has been submitted. TIA
<script type="text/javascript">
$(document).ready(function() {
$('#msgform').ajaxForm(function (data, textStatus) {
$("#msgresults").show();
$('#msgresults').append(data);
});
});
</script>
You could attach a .submit() listener in which you set the contents of whatever form elements.
Somewhat like