Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

javascript escape error  RSS feed

 
Reg Frenzy
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a jstl file which consists of a javascript snippet.


But when I run it I get an error saying "invalid property id" and when I look at the content - something like this has been passed. "data_res1","data_res1",. I need to have double quotes in the results as that's how I am parsing it in the javascript function. Any ideas on how this could be done?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are these server-side or client-side errors?
 
Reg Frenzy
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Client side errors
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Then showing us the server-side code isn't going to be particularly helpful. You should post the generated response that the browser sees.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!