Category Archives: JavaScript

postMessage in JavaScript

postMessage in JavaScript

The big problem with iframes is communication between the iframe and it’s parent. When the origin of an iframe is the same as parent there’s no problem. But when the domains are different it was impossible to change anything in iframe from parent for instance. postMessage solve this problem almost completely. Two ways communication with […]