Comments on: Cross-domain AJAX https://easyxdm.net/wp/2010/03/17/cross-domain-ajax/ Cross-Domain Messaging made easy Thu, 20 Apr 2017 18:47:42 +0000 hourly 1 https://wordpress.org/?v=4.9.34 By: Pradeep Viswanathan R https://easyxdm.net/wp/2010/03/17/cross-domain-ajax/comment-page-1/#comment-1586 Thu, 28 Aug 2014 12:40:00 +0000 http://easyxdm.net/blog/?p=12#comment-1586 Hi there, i am newly exploring EasyXDM, does this method work on date? i was just checking out examples and get an error – not sure if its just a code fix.

]]>
By: RayDex https://easyxdm.net/wp/2010/03/17/cross-domain-ajax/comment-page-1/#comment-1547 Thu, 24 Oct 2013 00:25:00 +0000 http://easyxdm.net/blog/?p=12#comment-1547 It is throwing the error “unhandled error returned.” either your exlample or my code.

]]>
By: AK https://easyxdm.net/wp/2010/03/17/cross-domain-ajax/comment-page-1/#comment-1110 Thu, 28 Jun 2012 21:17:00 +0000 http://easyxdm.net/blog/?p=12#comment-1110 I need to implement the ajax using easyxdm but didn’t understand how can i implement the above code.Can someone show me working example ( consumer.html and provider.html) ?

]]>
By: Tom Lianza https://easyxdm.net/wp/2010/03/17/cross-domain-ajax/comment-page-1/#comment-1095 Fri, 08 Jun 2012 19:23:00 +0000 http://easyxdm.net/blog/?p=12#comment-1095 Do you know if this can be made to work with jQuery deferred objects ( 
http://api.jquery.com/category/deferred-object/ ) ex. if I wanted to wait on 2 easyXDM-wrapped ajax calls to finish, can I get a deferred object returned from xhr.request in this example?

]]>
By: Øyvind Sean Kinsey https://easyxdm.net/wp/2010/03/17/cross-domain-ajax/comment-page-1/#comment-1092 Fri, 08 Jun 2012 16:33:00 +0000 http://easyxdm.net/blog/?p=12#comment-1092 If post is all you need (no response), why not use a simpler approach?
Øyvind Sean Kinsey
San Francisco, CA

]]>
By: Armin https://easyxdm.net/wp/2010/03/17/cross-domain-ajax/comment-page-1/#comment-1089 Fri, 08 Jun 2012 10:23:00 +0000 http://easyxdm.net/blog/?p=12#comment-1089 first of all, thanks a lot for this great piece of software! made my coding a lot easier!
i’m currently running into some problems though. We are using a third party desktop application to test algorithms. This software generates html testreports, which are stored on a local file. these reports are generated using a templatefile, which is the only thing i can modify in this whole process. what i’m trying to do, is to add a button to the template, which when pressed posts the contents of certain elements to php server, where the data gets parsed out and stored into a db. i tried doing this withc easyxdm (and a bunch of other solutions) however easyxdm tells me that the file protocol is not supported. Is there any way i can get around this?kind regards

]]>
By: t0mjanes https://easyxdm.net/wp/2010/03/17/cross-domain-ajax/comment-page-1/#comment-1083 Thu, 31 May 2012 07:46:00 +0000 http://easyxdm.net/blog/?p=12#comment-1083 i have a very simple demo for cross domain communication in iframes using html5’s postMessage API. it successfully works for me in all modern browsers and in IE9 as well but not in IE8 or below.
I tried a solution of registring some html5 tags with a custom header but the window.postMessage is still something mysterious for IE8.
Yes i know i can use various ways for cross domain in IE8 like xdr, but for cleanness somebody please comment if window.postMessage can somehow work in IE8 or below.
Im afraid to include modernizer or your easyxdm to let my CORS remain clean. By looking at my demo plz comment if i can use html5’s cors techniques in IE browsers < ie9.

]]>
By: Parimal https://easyxdm.net/wp/2010/03/17/cross-domain-ajax/comment-page-1/#comment-975 Wed, 04 Jan 2012 04:27:00 +0000 http://easyxdm.net/blog/?p=12#comment-975 Hi

i am using mvc 3 project, my main page having 2 iframes which load content from 2 different domain. now i am getting cross domain security error when try to set src for iframe 2 from iframe1. I am new and i don’t know how to implement this library so any one help please? how i can achive this task?

]]>
By: Øyvind Sean Kinsey https://easyxdm.net/wp/2010/03/17/cross-domain-ajax/comment-page-1/#comment-897 Tue, 11 Oct 2011 22:10:00 +0000 http://easyxdm.net/blog/?p=12#comment-897 Just serialize it yourself to JSON and send that.

]]>
By: Jugglinmike https://easyxdm.net/wp/2010/03/17/cross-domain-ajax/comment-page-1/#comment-894 Tue, 11 Oct 2011 22:04:00 +0000 http://easyxdm.net/blog/?p=12#comment-894 I would like to POST a “deep” object, but it appears that all nested objects are coerced intro strings. For instance, the following data:
{
   “message”:{}
}

is sent as:

{
   “message”:[object Object]
}
is there a technical limitation behind this behavior? If so, any suggested methods for POSTing “deep” objects? Or maybe (hopefully) I’m just doing it wrong…?

Thanks!

]]>