title: handling Single quote in string in JS and Code behind
body: <p>i have a string in my resource file that i am using in my codebehind and in javascript,but it is throwing error in JS.</p>
  
  <p>Resource file string is <strong>Par des changements de l'espace réservé</strong></p>
  
  <p>How to use escape character that will work in all three cases</p>
  
  <p>1.JS (eg i am comparing the inner text of TD with that resource value)</p>
  
  <p>2.Code behind (setting the inner text of TD with that resource value )</p>
  
  <p>3.ASPX (setting the text property of label with resource value)</p>
  
  <p>in case of single quotes?</p>
  
  <p>if i use the value in resource file with backward slash escape character,it will print the value in code behind with that slash.
   <strong>Par des changements de l\'espace réservé</strong></p>