xmlhttp.responseXML.documentElement = null

作者:hee
网址:


IE下xmlhttp.responseText可以返回正确数据,xmlhttp.responseXML返回object,但xmlhttp.responseXML.documentElement却等于null。

如果在服务端设置了ContentType=text/xml还出现此问题,将<?xml version="1.0" encoding="gb2312"?>移到文件文件第一行试试。IE下返回数据头部有空行,也可能造成xmlhttp.responseXML.documentElement = null。

调试了俺几十分钟,最近在玩android,其它方面生疏了很多。

 

  • ---> 收藏到书签 
 | 这篇【xmlhttp.responseXML.documentElement = null】来自 www.since2006.com |



本文相关评论|Comments

发表该文评论|Send Comment

关于本文|About The Blog

这篇 Blog 于 2009-10-22 10:12:00 发布在 since2006.com
上一篇: 解决android market无法下载问题
下一篇: 解决Nginx 500错误
首页

相关文章|Related Articles

  • 没有相关文章


相关标签|Related Tags

页面查询:12次,耗时:0.02秒