change to $.submit()
change to $.submit()
I really think that $.submit() should work in the same way as
$("body").on("submit", "id", function(e){
// do stuff
});
At the moment $.submit only works when the form is present at the onload moment, but if the form is added later on with some sort of ajax or with a template system such as handlebars, the form is not available with $.submit();
Hope this makes sense as a suggestion. many thanks for listening.