EasyUI Forum
November 06, 2025, 01:46:34 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: Trying again: json doesn't work  (Read 10682 times)
terjeber
Newbie
*
Posts: 4


View Profile Email
« on: March 15, 2013, 01:46:32 AM »

Trying again, to avoid the "look at the example" answers since "the example" doesn't work.

On my web page I have the following two constructs, a simple script tag to call some backend that returns json

Code:
<script type="text/javascript" src="../api/getTreeStuff"></script>

and and easyui-tree that basically should do the same

Code:
<ul id="tt2" class="easyui-tree" url="../api/getTreeStuff"></ul>

The Javascript line calls my server, no problem. The easyui-tree never calls back to the server. On the same page I have put an inline easyui-tree, and that gets rendered fine, so easyui is installed and working. Well, not actually working, but definitely installed. I have tried every conceivable variation on the url, and I have also used the data-options way of specifying the url, nothing can make the easyui-tree code call into my json server.

Any help would be appreciated. Any "see the example" comments is not helpful, since the code is directly from the example, and the code doesn't work.
Logged
terjeber
Newbie
*
Posts: 4


View Profile Email
« Reply #1 on: March 18, 2013, 04:27:41 AM »

Oh well, so GWT it is then.
Logged
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!