本帖最后由 sqlixiaoli 于 2009-09-11 20:08:00 编辑

解决方案 »

  1.   

    补充一下!
    当网址为本机如:http://localhost:** 都可以正常使用
    当网址为本机IP:http://192.168.1.102 或哉名时候 都会出错
      

  2.   

    跨域调用问题
    设置document.domain ,通过window.parent frame.contentDocument访问
    http://topic.csdn.net/u/20070905/11/4d52d92e-3c6a-4590-97be-ee96453710d5.html
      

  3.   

    楼上的 你说的我看过 不过 document.domain是只读的 设置后会出现JS错误  请问有没有其他方法设置 
      

  4.   

    多谢 wuyq11  发布会不会出现JS错误  没有发布的时候 会出现这个错误  谢谢!!!!