Durga Velusamy

Durga Velusamy

  • NA
  • 318
  • 114.6k

purpose of below code

Jul 15 2015 12:12 AM
if (window.addEventListener)
{
window.addEventListener("message", receiveMessage, false);
}
else
{
if (window.attachEvent)
{
window.attachEvent("onmessage", receiveMessage);
}
}
}

Answers (1)