我复制了一个正在研究的更大项目的一部分,我没有编写代码所以我希望有人可以帮我找出为什么从js代码发送一个帖子请求这个时尚作品在IE中而不是在其他浏览器.
function f() {
var container = document.createElement("form");
container.method = "post";
container.action= "http://localhost:3203/somefile.aspx";
document.appendChild(container);
container.submit();
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1754 次 |
| 最近记录: |