Javascript opener.location.reload()

I have this function:

      function refresh_close() {
            opener.location.reload();
            self.close();
      }      

If I am using the page that is in FireFox or Chrome, it works exactly as it should.

I have been told that on the iPad, using Safari you have to refresh the page (opener, the page that opens a separate window) every time the window is closed.

Does this function not work in Safari?

Is there a workaround?

Thanks
Richard KortsAsked:
Who is Participating?
 
Dave BaldwinConnect With a Mentor Fixer of ProblemsCommented:
I can find all the individual elements but I don't seem them used together like you are doing.  Can you give a more complete example of what you are trying to do?

http://www.w3schools.com/jsref/met_loc_reload.asp
http://www.w3schools.com/jsref/prop_win_opener.asp
http://www.w3schools.com/jsref/prop_win_self.asp
http://www.w3schools.com/jsref/met_win_close.asp
0
 
Richard KortsAuthor Commented:
Dave,

If I could send you a private message, I could give you a logon to see exactly what happens. I don't want to post the logon on an open forum.

Thanks
0
 
Richard KortsAuthor Commented:
To Dave Baldwin,

I used my own iPad & it works as it should.

One minor thing, every time it says something like "Popup Attempted", Block or Allow.

Is there a way to set "Allow" as a standard for a web site? I couldn't find it in the Safari settings.

Thanks
0
 
Dave BaldwinFixer of ProblemsCommented:
"Allow" as a standard for a web site?
You might be able to set it for your device but that is all.  You need to find the Safari error console and see what it is complaining about.
0
All Courses

From novice to tech pro — start learning today.