Hi Jan,
thanks for your help.
<<I think the docs are a bit unclear about this, but I had to do:
yes, or I have looked at the wrong pages.
<<var data = res.getData();
<<var content = data["result"];
This does not change anything in my example.
I am wondering that the first "alert"
alert(e.getContent());
works fine, and I can see the result from database.
But then nothing happens. The other alerts are not working.
But why?
----------------------------------
var req = new qx.io.remote.Request(
"http://localhost/PA/MobileWebJobTicket/data.php",
"GET",
"text/plain");
req.addListener("completed", function(e) {
alert(e.getContent());
var content = e.getData().getContent();
alert(content);
var tabledata = qx.io.Json.parse(content);
alert(tabledata);
tableModel.setData(tabledata);
});
---------------------------------
--
View this message in context:
http://old.nabble.com/Ajax-request%2C-no-data-in-table--tp27062959p27072635.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel