marcus
marcus

Reputation: 10086

Complex cross domain scripting

I have the following scenario, a user on domain1.com opens a new window on domain2.com. Domain2 contains a pretty complex web app where the user can browse and select documents. When the user is done searching for the right document he want's to send the select document back do domain1 and close the window. Is this possible in any way? I guess JSONP is not good enough because the response is not immediate?

Upvotes: 3

Views: 119

Answers (1)

Maxim Krizhanovsky
Maxim Krizhanovsky

Reputation: 26699

Use message API to communicate between the windows

There is a library for cross-browser implementation.

Upvotes: 2

Related Questions