i submit contact form well. working fine when submit want clear field details. input not refreshing.
my javascript
$(document).ready(function(){ $('#buttonme').click(function(){ $.post("send.php", $("#myform").serialize(), function(response) { $('#contactstatus').html(response); //$('#success').hide('slow'); }); return false; }); }); how can refresh input have add in myscript
try this:
$('#myform').each(function(){ this.reset(); });
Comments
Post a Comment