NYCPHP Meetup

[nycphp-talk] Leaky Javascript

D C Krook dkrook at hotmail.com
Wed Apr 2 14:56:21 EST 2003


Clyde,

How are you packaging the JavaScript in the head of your page?  With HTML 
comments? a type attribute?  What other items are also in the head?


-Dan


>
>I am having a persistent problem with Javascript appearing in the body of
>my .php page when it first loads.
>
>NOTE: the code in question is NOT in the body of the page -- it's in the
>head.  Sometimes it's just a half a line of code, other times it's a
>combination of Javascript from the head and partial HTML tags from the
>body. I had noticed that it seems to start with a particular line of code,
>and I have since gone through and cleaned up and reduced the number of
>lines of script (removed comments, vestigial routines, etc.) but the
>problem persists.
>
>On Reload/Refresh the page rights itself and all is well.
>
>Any ideas?
>
>Clyde
>

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail




More information about the talk mailing list