www.webdeveloper.com
Recent Articles
  • Finding Slow Running Queries in ASE 15
  • A More Advanced Pie Chart for Analysis Services Data
  • Adobe AIR Programming Unleashed: Working with Windows
  • Performance Testing SQL Server 2008's Change Data Capture Functionality
  • The ABC's of PHP: Introduction to PHP
  • How to Migrate from BasicFiles to SecureFiles Storage
  • Why the Twitter Haters Are Wrong
  • User Personalization with PHP: Beginning the Application
  • Whats in an Oracle Schema?
  • Lighting Enhancement in Photoshop
  •  

    Go Back   WebDeveloper.com > Client-Side Development > JavaScript

    JavaScript JavaScript (not Java) Discussion and technical support, including AJAX and frameworks (JQuery, MooTools, Prototype...)

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1  
    Old 05-26-2007, 05:17 PM
    adamthenewbie adamthenewbie is offline
    Registered User
     
    Join Date: Jul 2003
    Posts: 68
    window.opener.window.opener?

    I am trying to do the following:

    1) From page A I open up Page B using Javascript
    2) If I make an update to Page B I use this command (window.opener.etc.....) to refresh Page A.
    3) From Page B I open up Page C
    4) If I make an update to Page C I want to refresh Page A... I can't seem to get this working. I'be tried "window.opener.window.opener.etc...." to get Page A to refresh but it doesnt seem to work.

    Is there a way to reference this first page from Page C?
    Reply With Quote
      #2  
    Old 05-26-2007, 05:32 PM
    scragar's Avatar
    scragar scragar is offline
    Some Random Guy
     
    Join Date: Jun 2003
    Location: here
    Posts: 4,461
    try window.opener.opener

    window.opener doesn't have the window object anymore since that's always top level.
    __________________
    If you are using PHP please use the [php] and [/php] forum tags for highlighting...
    The same applies to HTML and the forums [html][/html] tags.
    Reply With Quote
      #3  
    Old 05-26-2007, 05:56 PM
    adamthenewbie adamthenewbie is offline
    Registered User
     
    Join Date: Jul 2003
    Posts: 68
    Quote:
    Originally Posted by scragar
    try window.opener.opener

    window.opener doesn't have the window object anymore since that's always top level.
    Thanks so much. That did the trick

    Adam
    Reply With Quote
    Reply

    Bookmarks


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is Off
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 10:41 AM.



    Acceptable Use Policy


    The Network for Technology Professionals

    Search:

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers

    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.