Skip to content

Commit ad8c5d4

Browse files
ajax
1 parent efb2eb3 commit ad8c5d4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

15-ajax/05-jq_ajax.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ <h1>测试jq_ajax方法</h1>
2626
可以return false 阻止该次请求
2727
验证用户的数据 是否填了
2828
error:请求失败以后 会调用
29+
async: 默认是true
30+
false为同步请求将整个浏览器锁死
31+
true为异步
2932
*/
3033
$.ajax({
3134
url:'jq_ajax.php',

0 commit comments

Comments
 (0)