EasyXDM passing data issue
Posted
by
Jeff Ryan
on Stack Overflow
See other posts from Stack Overflow
or by Jeff Ryan
Published on 2013-10-29T17:52:13Z
Indexed on
2014/05/27
21:28 UTC
Read the original article
Hit count: 331
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?
© Stack Overflow or respective owner