Does the page waits to execute the callback before submitting the form?
Yes (although if the function triggers anything asynchronous then that probably won't complete before the form submits).
1.4m articles
1.4m replys
5 comments
57.0k users