Ive got a problem with this code, the intention is that it saves the form data on change, it does that but not consistantly..if the page is reloaded the old data is in the Form, any input gladly taken.

$('#Form').on(”change”,function(){

var dataString = $('#Form').serialize() + '&submit_save=Save'

$.post(”test.php, dataString, function(inData){

window.alert(dataString);

window.location.reload();

});
return false;
});