I want to send some event/data from parent window to its child window. How can I do so?
I have tried postMessage, but it didn’t work.
I want to send some event/data from parent window to its child window. How can I do so?
I have tried postMessage, but it didn’t work.
It has worked now, earlier I was doing some syntax mistake. Here is the correct code for the same.