• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unknown error in my JSP

 
Rakesh Keerthi
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
i'm having the below source output.






here everything is working fine but when i see in internet explorer it is giving the below screen(but still it is working fine). could you please tell me where i'm going wrong.

Thanks

Err.JPG
[Thumbnail for Err.JPG]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64990
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's a JavaScript error, not something to do with JSP, so I've moved this to the HTML/JavaScript forum.

And in the future, please cut and paste error messages as text rather than attaching images of the error. Images cannot be searched and negatively affect SEO.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64990
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One of your element fetches is failing. Typically Microsoft to elide the parameter so that it's harder to tell which one. Look at the HTML sent to the browser to match up line numbers.

Or if you are using a modern version of IE, open the JavaScript debugger.

Does it work in other browsers?
 
Rob Crowther
author
Ranch Hand
Posts: 297
5
Android Fedora Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think this one will fail:



Because it's getting executed before any of the elements have loaded. Look into the DOMContentLoaded event or use jQuery which makes stuff like this much easier.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic