ExamVeda
Login
Home
Document Object Model and Event Handling
?

Which API allows scripts in a document from one server to exchange messages with scripts?

Answer & Solution
Correct Answer: Option A
The Cross-Document Messaging API allows scripts in a document from one server to exchange messages with scripts in a document from another server. This works around the limitations of the same-origin policy in a secure way. Each message that is sent triggers a message event on the Window of the receiving document.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.