Instead of specifying a URL in the window.open() method, you have several other ways to specify the contents of a new window object. The first of these ways is the simplest of the two: by using the new window's location object. Referring to the first example in this chapter, for instance, instead of specifying Form1.htm as the first argument of the window.open() method, you could do the same thing by using the following after the new window is created:
self.MyWindow.location.href = "Form1.htm"