会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
大峡谷2222
博客园
首页
新随笔
联系
管理
订阅
ajax基本用法
const xhr = new XMLHttpRequest()
xhr.open('GET', 'http://localhost:3000/class/')
xhr.send()
xhr.onload = function () {
console.log(xhr.responseText)
}
posted on
2026-06-22 16:03
大峡谷2222
阅读(
0
) 评论(
0
)
收藏
举报
刷新页面
返回顶部