23 lines
121 B
Markdown
23 lines
121 B
Markdown
|
# from
|
||
|
|
||
|
提交表单
|
||
|
|
||
|
submit()
|
||
|
|
||
|
阻止提交
|
||
|
|
||
|
preventDefault()
|
||
|
|
||
|
重置表单
|
||
|
|
||
|
reset()
|
||
|
|
||
|
获取表单字段
|
||
|
|
||
|
elements
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|