php的AJAX返回值开头是<meta http-equiv=Content-导致解析异常

WBOY
Release: 2016-06-13 12:22:25
Original
1074 people have browsed it

php的AJAX返回值开头是php的AJAX返回值开头是

然后导致解析错误,无法解析,正常应该没有上面这个meta头部,何解啊?

提示解析错误:


收到的AJAX的返回值:

------解决思路----------------------
你的php页面写了HTML代码吧,把那句改成 header("content-type:text/html;charset=utf-8"); 试试。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!