Submit listener doesn't work when JS submits form

When I add a submit listener to a form, and I use the .submit() function in javascript, in jquery it works, but with dom7 it doesn’t work.

jquery working example: https://jsfiddle.net/1amfyets/1/

framework7 example not working: https://jsfiddle.net/kr3wbb3t/6/

Is there any fix to it?

https://jsfiddle.net/qssL2t6b/

1 Like