I use this method to catch all form submit
$(function(){
$("form").submit(function(){
do somthing
});
});
but,I can't catch this kind of submit
document.forms['form1'].submit();
why?
I use this method to catch all form submit
$(function(){
$("form").submit(function(){
do somthing
});
});
but,I can't catch this kind of submit
document.forms['form1'].submit();
why?
Copyright © 2021 Jogjafile Inc.