Stats

191 Contributors: 2
Sunday, August 7, 2016
Licensed under: CC-BY-SA
Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook

.postMessage() and MessageEvent

Download javascript eBook

Syntax

  • windowObject.postMessage(message, targetOrigin, [transfer]);
  • window.addEventListener("message", receiveMessage);

Parameters

Parameters 
message 
targetOrigin 
transferoptional

Related Examples