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?
lundi 31 juillet 2017
UserScript, how to call event submit to start js function from sources
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire