摘要: <!DOCTYPE html><html><body> <script> function reqListener () { console.log(this); console.log(this.getAllResponseHeaders()); console.log(this.response 阅读全文
posted @ 2021-03-12 11:59 李不要熬夜 阅读(130) 评论(0) 推荐(0)
摘要: ##一个简单的Ajax请求 首先在封装一个自己的ajax函数之前,我们需要先知道怎么实现一个简单的ajax请求。 这里我建了两个文件,ajax01.html和ajax01.php ajax01.html代码: <!doctype html> <html> <head> <meta charset=" 阅读全文
posted @ 2021-03-12 11:13 李不要熬夜 阅读(181) 评论(0) 推荐(0)