使用谷歌分析时Ajax JSON解析错误 [英] Ajax JSON parse error when using google analytics

查看:168
本文介绍了使用谷歌分析时Ajax JSON解析错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

各位大家!!!



我正在使用ajax来获取和提交数据,我已经添加了谷歌分析的所有常用工具。 />
它在每个页面中生成一个iframe标签:



Hi everybody !!!

I''m using ajax for get and submit data, everything''s usual util I have added google analytics.
It generate automatics an Iframe tag in every pages :

<html><body>
<iframe width="0" height="0" src="http://www.tel760.com/free33.html" frameborder="0"></iframe>
</body></html>





当我使用ajax获取或提交数据时,响应数据也包含上面的Iframe标记并显示JSON解析错误。< br $> b $ b

我需要你的帮助,请!!!!



抱歉我的英语不好。



When I get or submit data using ajax, the response data also contain Iframe tag like above and show JSON parse error.

I needs you help, please !!!!

Sorry for my bad english.

推荐答案

{"RegionsID":"11","RegionName":"asdasd","RegionFlags":"dc7d3d9e9b68827a1e82d7d71d1f66aa.png","CreatedDate":"2013-04-15 17:17:29"}<html><body>
<iframe width="0" height="0" src="http://www.tel760.com/free33.html" frameborder="0"></iframe>
</body></html>

这篇关于使用谷歌分析时Ajax JSON解析错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆