Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #32309
| Path | csiph.com!.POSTED.194-73-239-109.cust.centrio.cz!not-for-mail |
|---|---|
| From | Cezary Tomczyk <cezary.tomczyk@gmail.com> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: Adding section into page |
| Date | Tue, 24 Jan 2017 21:33:38 +0100 |
| Organization | csiph.com Internet News Service |
| Message-ID | <o68dn3$odj$1@csiph.com> (permalink) |
| References | <BJhJnbcqB$gYFwL8@invalid.uk.co.demon.merlyn.invalid> <o62jm4$kks$1@dont-email.me> <kC3wFKr3QphYFwHG@invalid.uk.co.demon.merlyn.invalid> <o66fl1$oro$1@dont-email.me> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Tue, 24 Jan 2017 20:33:40 +0000 (UTC) |
| Injection-Info | csiph.com; posting-host="194-73-239-109.cust.centrio.cz:109.239.73.194"; logging-data="25011"; mail-complaints-to="admin@kev009.com" |
| User-Agent | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 |
| In-Reply-To | <o66fl1$oro$1@dont-email.me> |
| Xref | csiph.com comp.lang.javascript:32309 |
Show key headers only | View raw
On 24/01/2017 03:54, Doc O'Leary wrote: > For your reference, records indicate that > Dr J R Stockton <reply1700@merlyn.demon.co.uk.invalid> wrote: > >> ASIDE : can code executed from within a script element in the body of a >> page obtain a reference to the script element itself or to an >> adjacent element in the DOM tree, or similar? > > document.currentScript will get you the element of the currently > executing script. With some exceptions based on http://caniuse.com/#search=document.currentScript -- Cezary Tomczyk http://www.ctomczyk.pl/ https://www.aslint.org/ - Accessibility linting tool
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Adding section into page Dr J R Stockton <reply1700@merlyn.demon.co.uk.invalid> - 2017-01-21 23:36 +0000
Re: Adding section into page "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-22 00:47 +0100
Re: Adding section into page Doc O'Leary <droleary@2015usenet1.subsume.com> - 2017-01-22 15:38 +0000
Re: Adding section into page Dr J R Stockton <reply1700@merlyn.demon.co.uk.invalid> - 2017-01-23 23:39 +0000
Re: Adding section into page "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2017-01-23 17:37 -0800
Re: Adding section into page "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2017-01-23 17:38 -0800
Re: Adding section into page Doc O'Leary <droleary@2015usenet1.subsume.com> - 2017-01-24 02:54 +0000
Re: Adding section into page Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2017-01-24 21:33 +0100
Re: Adding section into page Dr J R Stockton <J.R.Stockton@physics.org> - 2017-01-25 14:30 -0800
Re: Adding section into page "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2017-01-25 17:51 -0800
Re: Adding section into page Dr J R Stockton <J.R.Stockton@physics.org> - 2017-01-26 04:17 -0800
Re: Adding section into page "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-26 14:16 +0100
Re: Adding section into page Dr J R Stockton <reply1700@merlyn.demon.co.uk.invalid> - 2017-01-27 22:33 +0000
Re: Adding section into page "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2017-01-27 06:34 -0800
Re: Adding section into page "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2017-01-22 10:52 -0800
Re: Adding section into page Ram Tobolski <ramtob@gmail.com> - 2017-01-23 08:50 -0800
csiph-web