• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

single quote double quotes problem ,,ASAP

 
Anil Jain
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello
i have a variable in xsl with a value like str1 = 6'3"Frame . When i m passing this function in my javascript function in xsl file getDatat('{str1}') i am getting errors. Please advise.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try escaping your string
 
Sudarsan Raman
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can't Ur variable be with ' and " ??
str1 = 6'3"Frame
will be
str1 = 6'3"Frame
This will be helpful (only) if U R using the value to be printed on the HTML page.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic