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


Groups > comp.lang.javascript > #8094

Re: Code not working

From Dr J R Stockton <reply1144@merlyn.demon.co.uk>
Newsgroups comp.lang.javascript
Subject Re: Code not working
Date 2011-11-06 19:53 +0000
Organization Home
Message-ID <2uWCSrIUXutOFwud@invalid.uk.co.demon.merlyn.invalid> (permalink)
References <11359e10-c765-4434-ae51-703c99b5d60f@x36g2000prb.googlegroups.com> <r14go8-eub.ln1@luuk.invalid.lan> <j93tcs$jcg$1@dont-email.me> <1996701.i4alEN71Z9@PointedEars.de>

Show all headers | View raw


In comp.lang.javascript message <1996701.i4alEN71Z9@PointedEars.de>,
Sat, 5 Nov 2011 21:34:47, Thomas 'PointedEars' Lahn <PointedEars@web.de>
posted:

>Jukka K. Korpela wrote:
>
>> 11/5/2011 6:15 PM, Luuk wrote:
>>>> <script type="text/javscript">
>>> you are missing an 'a' in 'javascript'
>>
>> This illustrates why it is better to write just <script>, unless company
>> police forces you to conform to formal specs that make the type
>> attribute required (for no good reason).
>
>No, it illustrates that a markup validator is to be used (before publishing
>content).

Not very well.  Using Opera context-menu Validate, W3 appears to accept
'<script type="text/javscript">'.


For the OP:

When a function shows no sign of functioning, the first thing to do is
to make sure that it is being read, for example by inserting
   ...  // ... is a literal
and checking that the error console does not get a report of that.  Then
change ... to ying-tong-iddle-I-po which almost certainly will show an
error on execution.

If an entire script shows no sign of working, insert a magic word at its
beginning, and check the console.

Outside the Principality at least, the word
"Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch" should work
too.

-- 
 (c) John Stockton, nr London, UK. ?@merlyn.demon.co.uk  Turnpike 6.05  WinXP.
 Web  <http://www.merlyn.demon.co.uk/> - FAQ-type topics, acronyms, and links.
 Command-prompt MiniTrue is useful for viewing/searching/altering files. Free,
 DOS/Win/UNIX now 2.0.6; see <URL:http://www.merlyn.demon.co.uk/pc-links.htm>.

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


Thread

Code not working Mclaren Fan <himanshu1495@gmail.com> - 2011-11-05 08:41 -0700
  Re: Code not working williamc <temp4@williamc.com> - 2011-11-05 12:10 -0400
  Re: Code not working Jake Jarvis <pig_in_shoes@yahoo.com> - 2011-11-05 17:19 +0100
  Re: Code not working Luuk <Luuk@invalid.lan> - 2011-11-05 17:15 +0100
    Re: Code not working "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2011-11-05 19:56 +0200
      Re: Code not working Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-11-05 21:34 +0100
        Re: Code not working "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2011-11-05 23:11 +0200
          Re: Code not working Eric Bednarz <bednarz@fahr-zur-hoelle.org> - 2011-11-06 01:06 +0100
          Re: Code not working Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-11-06 21:11 +0100
            Re: Code not working "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2011-11-06 22:59 +0200
              Re: Code not working Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-11-07 00:12 +0100
        Re: Code not working Dr J R Stockton <reply1144@merlyn.demon.co.uk> - 2011-11-06 19:53 +0000
          Re: Code not working Mike Duffy <Use_guestbook_page@website.in.sig> - 2011-11-07 02:54 +0000
  Re: Code not working Denis McMahon <denismfmcmahon@gmail.com> - 2011-11-05 23:58 +0000
    Re: Code not working Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-11-08 21:43 +0100
  Re: Code not working Dr J R Stockton <reply1144@merlyn.demon.co.uk> - 2011-11-06 19:39 +0000

csiph-web