Why does calling a function named “submit()” on an onclick event inside a form behaves differently in WebKit?

前端 未结 0 812
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-11 02:37

I noticed a form on one of my web apps was submitting instead of calling a Javascript function, but only on WebKit. There was no submit button on the form, only an anchor wi

相关标签:
回答
  • 消灭零回复
提交回复
热议问题