Jquery Insert HTML
- by danit
I'm using: http://jquery.malsup.com/form/#getting-started to submit my form, Ajax styleee.
However the form submits correctly and the data is sent however the fields on the form continue to have data in them. How can I clear them on submit? Hiding the form and displaying thank you would also be acceptable?
$(document).ready(function() {
$('#pollform').ajaxForm(function() {
$('#pollform').hide();
});
});