Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting Syntax Error in Task Bar  RSS feed

 
Ashish R Srivastava
Greenhorn
Posts: 7
Java MyEclipse IDE MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Guru's,

I am writing certain java Script in my JSP ::



</script>



There's showing no error but in Task Bar, Its showing an error with message as "Syntax Error", "Unterminated String Literals"

Could you please help me out in this issue..?

Thanks in Advance for your kind help...!!!
 
Rob Spoor
Sheriff
Posts: 21044
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'll move this thread to our HTML and JavaScript forum, as it's not Java that's causing the problems.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66141
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no syntax error in the posted code. Either the browser is complaining about some other piece of code, or there's something outside of what you posted causing problems with this piece.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!