Question

I'm using rpc with XDM, and I can send simple data back and forth easily between child and parent window.

But it seems to be limited to simple strings and numbers. The demos on the site only use numbers. When I try to send a json ecoded string, I get a cross domain error. When I use cors, I can make ajax requests fine, but I can't display the child page in the iframe, because the data is returned and not rendered.

My question is, how can I render an iframe, and pass complex data back and forth. Or maybe I am doing something wrong?

Was it helpful?

Solution

Figured it out... I wasn't stringifying correctly. Good to know it works!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top