How do I move the focus to a recently opened window in IE4? Say I have a parent window, and want to open a subwindow (not a modal dialog). It works fine the first time, but if the user moves back to the parent window, and then wants to open the subwindow again, it doesn't get focus, and the user doesn't notice that it has been loaded with new data.
I've tried to use the focus method without success, because every _second time_ I get an "Access denied" error message.
The code looks like this:
var newwin = window.open("myurl.asp?param1=value1",