|
Ok, I made a proxy to serve that page
internally but I would like to call it via ajax to have integrated
in the owncloud template.
I don't want to use iframes. That's evil in terms of security and integration. Le 04/07/13 21:40, Philip Taffner a écrit : 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 [email protected] https://mail.kde.org/mailman/listinfo/owncloud_______________________________________________ Owncloud mailing list [email protected] https://mail.kde.org/mailman/listinfo/owncloud --
Ce message et ses
éventuelles pièces jointes sont personnels, confidentiels et
à l'usage exclusif de leur destinataire.
30440
Saint Laurent le Minier
|
<<attachment: michee_lengronne.vcf>>
_______________________________________________ Owncloud mailing list [email protected] https://mail.kde.org/mailman/listinfo/owncloud

