Yes. Use the url of a WResource as URL in the XMLHttpRequest.

BR,
Wim.



2013/11/14 Rashad M <mohammedrasha...@gmail.com>

> Hello,
>
> Is it possible to send an xml http request to Wt application and receive a
> response text like php
>
> var request = new XMLHttpRequest();
> var url = 'http://localhost:8080' + '?' + params;
> request.open("GET", url ,true);
> request.send( null );
>
>
> request.onreadystatechange = function() {
>
>    if (request.readyState==4)/* && request.status==200) */ {
>
>
>    //something to do with output data from a Wt Application!!!
>    //Is this possible??
>
>    }
> }
> --
> Regards,
>    Rashad
>
>
> ------------------------------------------------------------------------------
> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> Free app hosting. Or install the open source package on any LAMP server.
> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to