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


Groups > comp.lang.javascript > #7711 > unrolled thread

javascript function name printed

Started bycerr <ron.eggler@gmail.com>
First post2011-10-26 16:40 -0700
Last post2011-10-27 14:22 -0700
Articles 5 — 3 participants

Back to article view | Back to comp.lang.javascript


Contents

  javascript function name printed cerr <ron.eggler@gmail.com> - 2011-10-26 16:40 -0700
    Re: javascript function name printed Denis McMahon <denismfmcmahon@gmail.com> - 2011-10-26 23:57 +0000
      Re: javascript function name printed cerr <ron.eggler@gmail.com> - 2011-10-26 21:38 -0700
        Re: javascript function name printed "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2011-10-27 08:08 +0300
          Re: javascript function name printed cerr <ron.eggler@gmail.com> - 2011-10-27 14:22 -0700

#7711 — javascript function name printed

Fromcerr <ron.eggler@gmail.com>
Date2011-10-26 16:40 -0700
Subjectjavascript function name printed
Message-ID<8b1ba0eb-31a2-4c7a-9b89-47f385aab146@d37g2000prg.googlegroups.com>
Hi There,

Why is my function name checkdetails() being printed onto my html
page? it's within the <script type="text/javascript"> & </script> tags
and shouldn't be printed, should it?

Thank you!
Ron

[toc] | [next] | [standalone]


#7712

FromDenis McMahon <denismfmcmahon@gmail.com>
Date2011-10-26 23:57 +0000
Message-ID<4ea89e68$0$28447$a8266bb1@newsreader.readnews.com>
In reply to#7711
On Wed, 26 Oct 2011 16:40:23 -0700, cerr wrote:


> Why is my function name checkdetails() being printed onto my html page?

Got a url? My first and best guess is that it appears outside the script 
tags somewhere.

Rgds

Denis McMahon

[toc] | [prev] | [next] | [standalone]


#7713

Fromcerr <ron.eggler@gmail.com>
Date2011-10-26 21:38 -0700
Message-ID<29d9a76e-ba9f-4d09-a168-9646bb18aae4@u37g2000prh.googlegroups.com>
In reply to#7712
On Oct 26, 4:57 pm, Denis McMahon <denismfmcma...@gmail.com> wrote:
> On Wed, 26 Oct 2011 16:40:23 -0700, cerr wrote:
> > Why is my function name checkdetails() being printed onto my html page?
>
> Got a url? My first and best guess is that it appears outside the script
> tags somewhere.

Sure do, sorry, I meant to post it with my first posting...
http://pizzalita.com/store/

Thanks,
Ron

[toc] | [prev] | [next] | [standalone]


#7715

From"Jukka K. Korpela" <jkorpela@cs.tut.fi>
Date2011-10-27 08:08 +0300
Message-ID<j8ap06$kth$1@dont-email.me>
In reply to#7713
27.10.2011 7:38, cerr wrote:

> On Oct 26, 4:57 pm, Denis McMahon <denismfmcma...@gmail.com>  wrote:
>> On Wed, 26 Oct 2011 16:40:23 -0700, cerr wrote:
>>> Why is my function name checkdetails() being printed onto my html page?
>>
>> Got a url? My first and best guess is that it appears outside the script
>> tags somewhere.
>
> Sure do, sorry, I meant to post it with my first posting...
> http://pizzalita.com/store/

As suspected, it appears as naked inside the head element:

  </style>
  checkdetails()
</head>

The validator http://validator.w3.org would have told this (in its own 
somewhat technical way: "character data is not allowed here") and some 
other problems with your markup.

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/

[toc] | [prev] | [next] | [standalone]


#7745

Fromcerr <ron.eggler@gmail.com>
Date2011-10-27 14:22 -0700
Message-ID<9160df16-6406-4a71-a732-cf4a5de3eff5@u24g2000pru.googlegroups.com>
In reply to#7715
On Oct 26, 10:08 pm, "Jukka K. Korpela" <jkorp...@cs.tut.fi> wrote:
> 27.10.2011 7:38, cerr wrote:
> > On Oct 26, 4:57 pm, Denis McMahon <denismfmcma...@gmail.com>  wrote:
> >> On Wed, 26 Oct 2011 16:40:23 -0700, cerr wrote:
> >>> Why is my function name checkdetails() being printed onto my html page?
>
> >> Got a url? My first and best guess is that it appears outside the script
> >> tags somewhere.
>
> > Sure do, sorry, I meant to post it with my first posting...
> >http://pizzalita.com/store/
>
> As suspected, it appears as naked inside the head element:

Hoops yep, didn't see that. Thanks for pointing it out!

Ron

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web