From 382617de81d6a9eab4c1d914d4ccc01c35c9ebaa Mon Sep 17 00:00:00 2001 From: many2many <6168830@qq.com> Date: Thu, 10 Oct 2024 09:36:23 +0800 Subject: [PATCH] =?UTF-8?q?add=20ajax=20=E7=AE=80=E4=BB=8B=E9=93=BE?= =?UTF-8?q?=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/chapter03.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/chapter03.md b/docs/chapter03.md index a32d013..1348597 100644 --- a/docs/chapter03.md +++ b/docs/chapter03.md @@ -208,6 +208,9 @@ async function example() { #### 3.3.2 XMLHttpRequest对象的使用 (了解) + +[AJAX 简介](https://www.runoob.com/ajax/ajax-intro.html) + - **基本用法:** 创建对象、设置请求类型、发送请求、处理响应。 - **事件监听:** 监听 `onreadystatechange` 事件来获取服务器响应的状态。 - **请求方法:** `open` 方法设置请求类型和URL,`send` 方法发送请求。