How do I manually trigger an event, in a popup window, from the parent application?
For example: In my parent application: myPopUp.dispatchEvent(new MouseEvent(MouseEvent.CLICK)); In the popup window: btnSearch.addEventListener(MouseEvent.CLICK, onClick, false, 0, true); How do I make this work?

