EasyUI Forum
September 13, 2025, 02:43:33 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: IE10 tree can suport local file loading remote json,but firefox can't  (Read 13691 times)
zh_CN
Newbie
*
Posts: 32



View Profile Email
« on: March 24, 2014, 12:16:24 AM »

Hi!
    My trubble flow:
Local path:file:///E:/EasyUI/index.html
But file in Server is ok :http://shop.ss001.cn/ui/index.html

Code:
...
  //实例化树形菜单
  $("#tree").tree({
    //data:treeData,
    url:'http://shop.ss001.cn/ui/tree.php',
    method:'get',
    lines:true,
    animate:true,
    onClick:function(node){
      if(node.attributes){
        Open(node.text,node.attributes.url);
      }
    }
  });
...



IE10: ok


Firefox38: error


Logged

From the great China
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: March 24, 2014, 06:28:15 PM »

This topic have discussed your problem.
http://stackoverflow.com/questions/5469440/jquery-ajax-request-from-local-filesystem-windows-file
Logged
zh_CN
Newbie
*
Posts: 32



View Profile Email
« Reply #2 on: March 24, 2014, 07:54:14 PM »


Oh, thainks. I go to see it. My englisth is poor~  Grin
Logged

From the great China
zh_CN
Newbie
*
Posts: 32



View Profile Email
« Reply #3 on: March 24, 2014, 08:13:39 PM »



Ok, I't works! Thanks!
Logged

From the great China
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!