js阻止form表单自动提交方法

方法一:return false;
方法二:event.preventDefault();

猜你喜欢

转载自www.cnblogs.com/sunshine21/p/9939628.html