There is such a code, it works, but the possibility of an infinite loop confuses
orderForm.on('submit', function(event) { event.preventDefault(); //some code here this.submit(); }) Why does not an infinite loop occur, is everything correct in this code?
What does an example of correct code look like in such situations?