I\'m developing a web application that opens a popup using windows.open(..). I need to call a function on the opened window using the handle returned by \"window.open\", but
You are calling the function immediately after opening the window; the page on the popup may not be loaded yet, so the function may not be defined at that point.