I just write a simple io.remote program, but it is not work, please help.

I only receive the first alert, no second alert and alert(content), that 
why the program can not enter the req.Listener? why?



button1.addEventListener("execute", function(e) {
 
        var req = new qx.io.remote.Request("dbtest.php", "GET", 
"text/plain");
         alert("OK");
        req.addEventListener("completed", function(e) {
                                                   alert("OK");
                                                  var content = 
e.getContent();
                                        alert(content);
                                                  
                                                   });
      });

In PHP:
<?php
echo "OK";
?>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to