Hi Jim, Can you please post an example of how to get the "content" of an Iframe ?
Thanks, Karthik On Sat, Jul 18, 2009 at 10:24 PM, Jim Hunter<[email protected]> wrote: > If all you want to do is get the content of the URL, create a hidden IFrame, > set the URL of the IFrame to what you want, then look at it's content. > Jim > > On Sat, Jul 18, 2009 at 2:33 AM, Karthik <[email protected]> wrote: >> >> Hi, >> >> I just want to POST to an URL (Yahoo Fireeagle) and get a plain text >> response. >> Any other way to do this or Do I have to run a proxy in the server side ? >> >> Thanks, >> Karthik >> >> On Fri, Jul 17, 2009 at 7:17 PM, Jonathan Weiß<[email protected]> >> wrote: >> > Hello Karthik, >> > >> > >> > it is not possible to create requests to hosts that are different from >> > the host the JavaScript is executed from (same origin policy). >> > However, you can bypass this if you the backend sends you JavaScript >> > data and you know how to handle them. >> > >> > What do you want to achieve, if you don't mind asking? >> > >> > The strange thing is, that I also get status code 204, also there IS >> > content... >> > >> > >> > Cheers, >> > Jonathan >> > >> > >> > On 17.07.2009, at 14:16, Karthik wrote: >> > >> >> Hi, >> >> >> >> For some reason HttpRequest for any URL always gives me status code >> >> 204 - NO CONTENT. >> >> >> >> var request = new qx.io2.HttpRequest("http://www.google.com"); >> >> request.send(); >> >> request.addListener("load", function(e) { >> >> alert("hello world"); >> >> alert(request.getStatusCode()); >> >> }); >> >> >> >> Can anyone please tell me what I am missing? >> >> >> >> Thanks, >> >> Karthik >> > >> > >> > >> > ------------------------------------------------------------------------------ >> > Enter the BlackBerry Developer Challenge >> > This is your chance to win up to $100,000 in prizes! For a limited time, >> > vendors submitting new applications to BlackBerry App World(TM) will >> > have >> > the opportunity to enter the BlackBerry Developer Challenge. See full >> > prize >> > details at: http://p.sf.net/sfu/Challenge >> > _______________________________________________ >> > qooxdoo-devel mailing list >> > [email protected] >> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >> > >> >> >> ------------------------------------------------------------------------------ >> Enter the BlackBerry Developer Challenge >> This is your chance to win up to $100,000 in prizes! For a limited time, >> vendors submitting new applications to BlackBerry App World(TM) will have >> the opportunity to enter the BlackBerry Developer Challenge. See full >> prize >> details at: http://p.sf.net/sfu/Challenge >> _______________________________________________ >> qooxdoo-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
