Stop form submit with native javascript

后端 未结 3 706
粉色の甜心
粉色の甜心 2020-12-21 21:25

I need to select a form via native javascript (not jQuery) and prevent the form submission (preventDefault).

The trick is that the form does not have a name or id, a

3条回答
提交回复
热议问题