Created
November 16, 2018 04:19
-
-
Save Baozi2/5a855cbfa2b9f461a736f87c2436df84 to your computer and use it in GitHub Desktop.
jquery ajax data content ?? make a JSONP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery的ajax数据中含有?? | |
此问题仅在 dataType指定为JSON,并且data为string是出现。解决办法, | |
1. 转移data | |
2. 使用object的data | |
3. 指定contentType | |
4. 不指定dataType | |
Author
Baozi2
commented
Nov 16, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment