Skip to content

Commit ca5b5f3

Browse files
author
zhaoliang
committed
js代码标注
1 parent c2db028 commit ca5b5f3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

_posts/js/2017-06-23-ajax_form_submit.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ tags: ajax
1111
# 原生FormData对象使用
1212

1313
* HTML创建form对象
14-
```
14+
15+
```js
1516
var formElement = document.querySelector("form");
1617
//或者这种写法
1718
//var formData = new FormData(someFormElement);

0 commit comments

Comments
 (0)