What is window.postMessage in HTML5?

Frontend 2021-08-15 20:41:22 0 2,383

postMessage is a new API introduced by HTML to address cross-domain communication. postMessage currently supports Firefox, IE8+, Opera, Safari, Chrome. postMessage allows communication between multiple iframes/windows in a page, postMessage can also implement ajax directly across domains without server-side proxy.


Your opinion

Already have 0 Article answer