function sendText(txt) { var xhr = new XMLHttpRequest(); xhr.open('POST', '/server', ... 而我们可以改用 FormData ,这是另一种针对XHR2 设计的新数据类型。
確定! 回上一頁