![]() ![]() You can use a standard event listener to watch for this event and execute some code when it occurs. When a call to postMessage() is executed successfully a MessageEvent will be fired on the receiving window. Setting up Event Listeners to Receive Messages #IFRAME POSTMESSAGE HOW TO#Now lets take a look at how to receive messages sent to a window. TargetWindow.postMessage('Hello World!', '')
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |