0
我正在使用:http://jquery.malsup.com/form/#getting-started提交我的表單,Ajax styleee。jquery插入HTML
但是,表單提交正確且數據已發送,但表單上的字段仍然有數據。如何在提交時清除它們?隱藏表單並顯示謝謝也是可以接受的?
$(document).ready(function() {
$('#pollform').ajaxForm(function() {
$('#pollform').hide();
});
});