My current setup involves using Contact Form 7 in Wordpress to store data in a MySQL Database with Submit-Form. Now, I am working on reloading a table containing this data after the form submission. Here is the script I am currently using:
/* FORM RELOAD AFTER SUBMIT */
jQuery("form").submit(function() {
setTimeout(function(){
jQuery("#table-div").load(document.URL + ' #table-div > table');
}, 500);
});
I added a timeout in order to allow time for the data to be saved and retrieved. This method works well in most browsers (FF, Chrome, IE...), but unfortunately does not work in IE and Edge. I have been unable to find a solution for this issue.