ASP & Java: Need to close child, reload parent and set focus half way down page
Posted on 2004-08-02
From main page, clicking on a link opens a child window.
When a 'close' button is clicked in the child (submit button) the child window closes and refreshes the parent window. To do that I use this code:
window.opener.location = window.opener.location;
This is good and was all I needed, but now I not only need the parent window to refresh, but I need 'focus' to be set on that parent window somewhere about 1/2 way down the page.