• SinbadC
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Hi All,
Can anyone tell me how I can load a string in Javascript when the variable contains an apostrophe. For example  I would like to load oppName with the Opportunity name where the Opportunity name is Bob's Country Bunker Inc. Using     var oppName =  '{!Opportunity.Name}';    fails. Any help would be much appreciated, thanks
Hi All,
Can anyone tell me how I can load a string in Javascript when the variable contains an apostrophe. For example  I would like to load oppName with the Opportunity name where the Opportunity name is Bob's Country Bunker Inc. Using     var oppName =  '{!Opportunity.Name}';    fails. Any help would be much appreciated, thanks