Hello,

 

i tried to use the Rpc but it doesnt work.

 

Can anyone give me an example of the correct syntax to get some
information from a html-File using "ajax"?

 

I tried this:

----------------------------------

 

            ...

            ...

            ...

var rpc = new qx.io.remote.Rpc();

      rpc.setTimeout(10000);

      var mycall = null;

      

      sendBtn.addEventListener("execute",function()

            {

                  rpc.setUrl("return.html");

                  

                  mycall = rpc.callAsync(function(result, ex, id) {

                        

                             alert(result);

                        });

            });

 

------------------

 

How can i just get the content of the HTML-File?

 

Thanks!!!!

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to