• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 20. Manipulating Windows and Fra... > Filling Your Windows I: The location...

Filling Your Windows I: The location Object

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 example, 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"


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint