Looked for many questions but didn't find answer. Have a js function in sources that creates listener for submit $('.subForm').submit(function(e) { e.preventDefault(); //more code } Basically, event is called by pressing a button with type="submit" When i try to submit button by calling click event or .submit function its ignore js listener and goes to other url. How to call this listener function?
Aucun commentaire:
Enregistrer un commentaire