Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #32286

Re: Adding section into page

From Doc O'Leary <droleary@2015usenet1.subsume.com>
Newsgroups comp.lang.javascript
Subject Re: Adding section into page
Date 2017-01-24 02:54 +0000
Organization Subsume Technologies, Inc.
Message-ID <o66fl1$oro$1@dont-email.me> (permalink)
References <BJhJnbcqB$gYFwL8@invalid.uk.co.demon.merlyn.invalid> <o62jm4$kks$1@dont-email.me> <kC3wFKr3QphYFwHG@invalid.uk.co.demon.merlyn.invalid>

Show all headers | View raw


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.

-- 
"Also . . . I can kill you with my brain."
River Tam, Trash, Firefly

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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