I can only modify the code in the ajax call. The ajax call occurs when I click the submit in form named $(\'#form1\').
$(\'#form1\')
$(\'#form1\').submit(func
Put a
return false;
This should stop the function to continue