adong搬砖

导航

ajax 基本语法

 
        // ajax 基本语法
        const xhr = new XMLHttpRequest()
        xhr.open()
        xhr.send()
        xhr.onload = function () {
            console.log(xhr.responseText)
        }

  

posted on 2026-06-21 11:29  adong搬砖  阅读(3)  评论(0)    收藏  举报