📜  jquery 到 vanilla javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:28.283000             🧑  作者: Mango

代码示例1
var request = new XMLHttpRequest();
request.open('POST', '/my/url', true);
request.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
request.send(data);