Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Refocus child window from parent in chrome.

    Hi ,
    We are using SmartGWTPower 3.0.
    We have a parent window and a child window with each being individual entry points (html pages). A button on the parent opens the child window via java script (written in parent) and also stores a handle (page level reference) to the child window.

    Issue -

    When the same button from the same parent is hit again, the child window (already open) should come in front (childWindow.focus()). This doesn't work with IE8+Google chrome frame plugin or in Chrome browser.
    I have already tried solutions suggested at http://stackoverflow.com/questions/2...-google-chrome.
    a) Blur and Refocus – Doesn’t work anymore.
    b) Copy the HTML content of child page and write to a newly opened blank document. –This isn’t the best approach but will resolve the issue if we manage to copy the whole content and write to the new document.

    How can I focus existing child window from parent window?

    Thanks,
    Vishal.
    Last edited by vishaman; 4 Jun 2013, 06:52.
Working...
X