Results 1 to 2 of 2

Thread: How do you get a browser window ID?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2001
    Posts
    122

    Question How do you get a browser window ID?

    The following code can be used to refresh a browser window. What I need to know is how to get the ID of a window.

    <script language=""javascript"">theotherwindowid.document.reload();</script>

  2. #2
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    I could be wrong, but I don't know if you can. There are other ways, like:

    Code:
    var newWin = window.open();
    newWin.document.reload(true);
    or I think:

    Code:
    window.opener.document.reload();
    Maybe if we could see what you're trying to do in context we could help more.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width