I have to call a callback method in iframe to return a value to opener.
I know SqueezeBox has "assign, open, close" static methods, but I do not understand how it works, can someone help me please?
I have to call a callback method in iframe to return a value to opener.
I know SqueezeBox has "assign, open, close" static methods, but I do not understand how it works, can someone help me please?
I don't know much about SqueezeBox but I have done some work with iframe communication. Unless your iFrame and opener are in the same domain, you cannot call from one to the other.
What I have done to work around this is write to the hash of the URL. The opener can then read this value and figure out what to do.
For example,