• Post Reply Bookmark Topic Watch Topic
  • New Topic

Javascript getting displayed on Screen  RSS feed

 
Dhananjay Ghanwat
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
Sometimes I am getting a very strange error.
The entire Javascipt code written in my JSP
page gets displayed on to the screen.
This happens in very rare ocassion.
Could some tell me why this is happening
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Browser and version? OS?
bear
 
Dhananjay Ghanwat
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Browser is IE 6.0
on Windows 2000
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Strange, NN4 had a known problem with this (and style sheets). Never seen it in IE6.
My suggestion is that next time it happens to perform a "view source" and examine the HTML stream that was sent to the browser to make sure that the tags, especially the script tags, are properly formed.
That'd at least help to narrow down whether the problem is in server-side generation or client-side interpretation.
hth,
bear
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!