Click to See Complete Forum and Search --> : Reload parent window from child


veerakarthi
12-13-2005, 11:30 PM
Hi all,

I want to reload the parent window from child window. after reloading focus should remain in child window.

Currently iam using

window.opener.location.reload(true);

BUt after reloading parent window got focus.How can i avoid this??

Thanks in Advance

blah1985
12-14-2005, 02:17 AM
childsWindowName.focus(); //use this onload of the parent, or timed or something

Kor
12-14-2005, 02:55 AM
and check first if the child exists:

onload=function(){
if(childWindow){
childWindow.focus()
}
}