My goal is: When for is submitted:
The return false
is blocking the default form submit action. You have either to return true
from the form1Submit()
function to let the default form submit action do its job, or to add another $.post()
inside the else
which submits the data to the form asynchronously, if your intent was to do it using ajaxical powers.