• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error Please help  RSS feed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
CAN anyone please tell me.How to solve the error--'empty chracter literal' javascript:emoticon('');
 
Java Cowboy
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You probably have some code that looks like this:

Put a character between the two quotes.

Note: If you want to create an empty string in your code, you must use double quotes. Single quotes are only for single-character literals:
 
Marshal
Posts: 56600
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

Please always use the subject line to tell us what the discussion is about.
 
Harpreet Singhla
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jespher for the suggestion.............('');


Also Thank you Campbell for welcoming me. And I will surely take for the Subject-line.
 
Campbell Ritchie
Marshal
Posts: 56600
172
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Harpreet Singhla wrote: . . . Thank you Campbell for welcoming me. And I will surely take for the Subject-line.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!