refresh form using jquery code example
Example 1: jquery reload page
$('#myElement').click(function() {
location.reload();
});
Example 2: jquery submit refresh page stop
$("#prospects_form").submit(function(e) {
e.preventDefault();
});
$('#myElement').click(function() {
location.reload();
});
$("#prospects_form").submit(function(e) {
e.preventDefault();
});