[Owncloud] external page ajax call
Philip Taffner
sabel at altmuehlnet.de
Thu Jul 4 19:40:24 UTC 2013
That's not true anymore.
You can always use JSONP, but modern browsers support cross-domain http
requests.
https://developer.mozilla.org/en-US/docs/HTTP/Access_control_CORS
https://github.com/pazguille/jquery.cors
Search for "CORS".
Am 04.07.2013 20:15, schrieb Roman Geber:
> On 07/04/2013 06:52 PM, michee.lengronne wrote:
>> Hello,
>>
>> I try to call an external page in owncloud via a jquery ajax call.
>
> You can't call an external page through ajax. For security reasons you
> can only make requests to the same server the original page is coming from.
>
> You might be able to do it through an iFrame.
>
> Check out this links for more information:
>
>
> http://stackoverflow.com/questions/4613310/how-to-call-external-url-in-jquery
>
> http://stackoverflow.com/questions/382662/what-are-the-differences-between-using-an-iframe-and-ajax-to-include-the-content
>
> Hope that helps.
>
> cu
> Roman
>
>
>
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud
>
More information about the Owncloud
mailing list