Answer the question
In order to leave comments, you need to log in
How to stop form submission in JS?
The bottom line is, there is a regular form with an action that is generated on js and then submits from it. How to stop sending it after submit?
var $f = $('#' + formId);
$f.submit()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question