用document.domain解决Ajax跨子域

canca18年前 (2008-04-12)636
       因为浏览器的安全策略,浏览器不允许不同域(比如:dancewithnet.com和lab.dancewithnet.com)、不同协议(比 如:http://dancewithnet.com和https://dancewith…