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


Groups > comp.lang.javascript > #26917

Is it any fifference where I put the script tag in this example

Path csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From "Tony Johansson" <johansson.andersson@telia.com>
Newsgroups comp.lang.javascript
Subject Is it any fifference where I put the script tag in this example
Date Tue, 24 Feb 2015 00:09:41 +0100
Organization A noiseless patient Spider
Lines 12
Message-ID <mcgbvo$45v$1@dont-email.me> (permalink)
Mime-Version 1.0
Content-Type text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
Content-Transfer-Encoding 7bit
Injection-Date Mon, 23 Feb 2015 23:09:44 +0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="8fdc2b5af81c338deb7045fc6c39b0e2"; logging-data="4287"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/X/gtkuL0nCsC1yOIfrCf9"
X-MimeOLE Produced By Microsoft MimeOLE V6.0.6002.18463
X-Newsreader Microsoft Windows Mail 6.0.6002.18197
Cancel-Lock sha1:+/yBA8QG+2sKS8Nl4l5FYK1pSk4=
X-Priority 3
X-MSMail-Priority Normal
Xref csiph.com comp.lang.javascript:26917

Show key headers only | View raw


Hello!

Just assume that I have a very simple script tag that looks like this
<script>
      document.write("This is a test");
</script>

Then is it just the equivalent if I put this script tag within header tag or 
within the body tag.

//Tony 

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


Thread

Is it any fifference where I put the script tag in this example "Tony Johansson" <johansson.andersson@telia.com> - 2015-02-24 00:09 +0100
  Re: Is it any fifference where I put the script tag in this example "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-02-24 00:24 +0100
  Re: Is it any fifference where I put the script tag in this example "Tony Johansson" <johansson.andersson@telia.com> - 2015-02-24 00:30 +0100
  Re: Is it any fifference where I put the script tag in this example Denis McMahon <denismfmcmahon@gmail.com> - 2015-02-24 00:09 +0000
    Re: Is it any fifference where I put the script tag in this example JJ <jj4public@vfemail.net> - 2015-02-24 20:46 +0700

csiph-web