ITeye博客

jquery 1.11.0 post 在ie8 上不工作

dwangel · 2017-10-21 13:52 · 经验 · javascript · Web前端 · Markdown

帮朋友看一个问题

$.post在ie8 下不工作, 查了半天,在下面链接找到答案

https://www.codeproject.com/Questions/764961/Jquery-Ajax-Post-is-not-working-on-IE-IE-but-worki

This cause because of bug in jQuery particular version. if you dont want to change the jQuery version,

you can simply add this line in your code

$.support.cors = true; or

3.you can add jquery migrate js file to resolve this. http://code.jquery.com/jquery-migrate-1.2.1.js

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。