Replace Single Quotes in Javascript or JQuery
<p>i have an Html String in which i have some elements having single quotes.When i put this inside a $('varHtml'); Since the varHtml already contains some single quotes it qives an error, Can Somebody help me how to Escape the single quotes in the varHtml</p>

<p>Thanks in Advance</p>

<p>Thomson</p>
