showing results for - "jquery before form submit"
Filippo
15 Aug 2018
1$('#myform').submit(function(event) {
2 	event.preventDefault(); 			// Prevents the default submit
3  	// your code here (not asynchronous)
4	$(this).unbind('submit').submit(); 	// continue the submit unbind preventDefault
5})
Arran
04 Apr 2018
1$('#myform').submit(function() {
2  // your code here
3});
4