Jquery submit vs. javascript submit

后端 未结 1 1472
难免孤独
难免孤独 2020-12-10 15:19

I am trying to invoke a form validation when clicked on ordinary button. This seems to work good with jQuery, but not with plain javascript. Can anyone explain this

相关标签:
1条回答
  • 2020-12-10 15:50

    The DOM submit() method does not trigger submit events. jQuery's does.

    0 讨论(0)
提交回复
热议问题