摘要: XHR的属性 responseType和response属性 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <script> //responseT 阅读全文
posted @ 2023-03-29 16:37 ja不会va 阅读(23) 评论(0) 推荐(0)
摘要: 跨域是什么 <script> //1.跨域是什么 //同域,不是跨域 //const url = './index.html'; // const url = 'https://www.baidu.com';//不同域 // const xhr = new XMLHttpRequest(); /* 阅读全文
posted @ 2023-03-29 13:44 ja不会va 阅读(21) 评论(0) 推荐(0)
摘要: JSON是使什么 Ajax 发送和接收书数据的一种格式 XML username=alex&age=18 JSON Json 全称是JavaScript Object Notation JSON(JavaScript Object Notation, JS对象简谱)是一种轻量级的数据交换格式 它基于 阅读全文
posted @ 2023-03-29 10:08 ja不会va 阅读(32) 评论(0) 推荐(0)