I am opening a new window and then trying to send the main frame to another URL. The problem I have is that the frame hasnt loaded properly by the time I try to change its location. I know this because I have put an alert in that delays the change in URL and it then works. How can I test to make sure it is ready? I tried caseSummaryWindow.document.mainFrame.readyState == "complete" but this is wrong.
Matt
Matt