View Single Post
  #3 (permalink)  
Old March 2nd, 2007, 06:47 PM
chwagssd chwagssd is offline
Registered User
 
Join Date: Mar 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Don't user window.location.reload(), it doesn't return a value until after the reload completes, which is a problem if say for example you are doing the following, as i did

Code:
afterSave = function(){
    opener.focus();
    opener.location.href=opener.location.href;
    close();
}/*if I had used opener.location.reload(); then the popup window running the function would not run the 3rd command close() until after the opener was completely reloaded*/
Reply With Quote