You work as a senior developer at ABC.com. The ABC.com network consists of a single domain
named ABC.com.
You are running a training exercise for ABC.com’s junior developers. You are currently discussing
an event that executes when the user sends a cross-document message.
Which of the following is the event being discussed?
A.
The onmessage event.
B.
The postMessage event.
C.
The onclick event.
D.
The onactivate event.
Explanation:
The answer for the above question in postMessage()
Please refer the below link for ref:
http://en.wikipedia.org/wiki/Web_Messaging
Oh i am sorry. The Method is postMessage.But the Event is onMessage. The answer given is right.