Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #31600
| Path | csiph.com!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail |
|---|---|
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: iframe function |
| Date | Mon, 24 Oct 2016 04:26:11 +0100 |
| Organization | PointedEars Software (PES) |
| Lines | 33 |
| Message-ID | <1766631.oMNUckLgyt@PointedEars.de> (permalink) |
| References | <obqdnb-4PICQ55DFnZ2dnUU7-IHNnZ2d@westnet.com.au> |
| Reply-To | Thomas 'PointedEars' Lahn <cljs@PointedEars.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="ISO-8859-1" |
| Content-Transfer-Encoding | 7Bit |
| X-Trace | solani.org 1477279572 6090 eJwFwYEBwDAEBMCVNN5jnBL2HyF3pvzYDhpha4vwm8mtbQZcBGfknhQjNTibAvyazQmrrgcIZhCP (24 Oct 2016 03:26:12 GMT) |
| X-Complaints-To | abuse@news.solani.org |
| NNTP-Posting-Date | Mon, 24 Oct 2016 03:26:12 +0000 (UTC) |
| User-Agent | KNode/4.14.2 |
| X-NNTP-Posting-Host | eJwFwYENwDAIA7CXQCRBOael7P8TZrOUmoYo8ONXked5XpoVyoEOd6PcrcktLydQ24Jxr38MKBB3 |
| X-User-ID | eJwNy8EBwCAIA8CVREOC46jA/iO09z9fND6BTnh7611TpFB0DNnKWTtjeMV4QeCQReZfOqXTFy1iz1vT2/gBQGAVJg== |
| Cancel-Lock | sha1:hAbcQS2Wgkww86avIfl3DJJzlQg= |
| Xref | csiph.com comp.lang.javascript:31600 |
Show key headers only | View raw
Andrew Poulos wrote:
> If a page contains an IFRAME and the IFRAME has some JavaScript that
> looks like:
>
> var aVar = "hello";
>
> var myFunc = function() {
> return (aVar == "hello");
> };
>
> window.parent.myFunc = myFunc;
>
> and in the parent window I call myFunc() is the aVar value the one in
> the IFRAME or the one in the parent window?
Yes.
<http://catb.org/esr/faqs/smart-questions.html#prune>
<http://catb.org/esr/faqs/smart-questions.html#idm45835691719280>
> I've got a, for me, complex elearning course that uses an IFRAME for
> some things and the parent window for others and I'm trying to debug
> some errors but I don't really understand what the "correct" answer
> should be.
<http://catb.org/esr/faqs/smart-questions.html#idm45835691716720>
--
PointedEars
FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not cc me. / Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
iframe function Andrew Poulos <ap_prog@hotmail.com> - 2016-10-24 14:03 +1100
Re: iframe function Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-10-24 04:26 +0100
Re: iframe function Andrew Poulos <ap_prog@hotmail.com> - 2016-10-24 19:17 +1100
Re: iframe function Tim Streater <timstreater@greenbee.net> - 2016-10-24 10:03 +0100
Re: iframe function Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-10-24 11:16 +0100
Re: iframe function Tim Streater <timstreater@greenbee.net> - 2016-10-24 11:28 +0100
Re: iframe function Luuk <luuk@invalid.lan> - 2016-10-24 19:19 +0200
Re: iframe function Dr J R Stockton <reply1600@merlyn.demon.co.uk.invalid> - 2016-10-25 21:19 +0100
Re: iframe function Luuk <luuk@invalid.lan> - 2016-10-26 22:30 +0200
Re: iframe function Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2016-10-26 06:15 -0200
Re: iframe function Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-10-27 22:11 +0100
Re: iframe function JJ <jj4public@vfemail.net> - 2016-10-24 13:25 +0700
Re: iframe function Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-10-24 11:58 +0100
Re: iframe function Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-10-24 12:16 +0100
csiph-web