Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #24470
| Date | 2014-05-30 11:24 +1000 |
|---|---|
| From | Andrew Poulos <ap_prog@hotmail.com> |
| Newsgroups | comp.lang.javascript |
| Subject | window.opener iOS |
| Message-ID | <LPWdnV4eLbjDQxrOnZ2dnUVZ_jadnZ2d@westnet.com.au> (permalink) |
I have a page with this
<script type='text/javascript' src='myscript.js'>
in the head. 'myscript.js' contains an object called 'API'.
A user clicks on a button to open a new window and the new window checks
for the existence of API in the opener.
API is found when I test with every browser I have off the desktop but
if I test with iOS Chrome errors with "API cannot be found".
I've narrowed the problem to this
window.alert("win= "+window+" + "+window.opener);
with Chrome on iOS displays
win= [object Window] + null
even though the opener window/tab exists.
How do I reference the opener with Chrome and iOS?
Andrew Poulos
Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread
window.opener iOS Andrew Poulos <ap_prog@hotmail.com> - 2014-05-30 11:24 +1000
Re: window.opener iOS Christoph Michael Becker <cmbecker69@arcor.de> - 2014-05-30 13:51 +0200
Re: window.opener iOS Andrew Poulos <ap_prog@hotmail.com> - 2014-05-31 16:25 +1000
Re: window.opener iOS danca <cyberdanny@tiscalinet.it> - 2014-05-31 14:45 +0200
csiph-web