Tag Info

New answers tagged


$j = jQuery.noConflict(); $j(document).ready(function() { $j('#myform').submit(submit_myform); }); function submit_myform() { if (!myform_is_valid()) { window.location.href = "#myform"; return false;//prevent normal browser submission, to display validation errors } else { $j.ajax({ url: 'saveform.php', ...


You can use sessions to store the data. There is a plugin also for that which I have used in the past and it works quite good. https://wordpress.org/plugins/wp-session-manager/

Top 50 recent answers are included