Ahh ok. Thanks for the info.

Regards,
Karthik

On Tue, Jul 21, 2009 at 1:36 AM, Jim Hunter<[email protected]> wrote:
> I was mistaken. In my code, I was having the IFrame communicate with the
> calling page, not the other way around. JavaScript has a security feature
> called something like "same origin policy" that prevents you from accessing
> the content of a page that is not in your domain (and in my case it works
> because my IFrames and my main page are all coming from the same domain).
> This would explain why the method getHtml returns null, if the IFrame source
> is from another domain. You are going to have to use server side code in
> order to get what you want.
> Jim
>
> On Mon, Jul 20, 2009 at 12:03 AM, Karthik <[email protected]>
> wrote:
>>
>> 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
>
>
> ------------------------------------------------------------------------------
> 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

Reply via email to