Insert a value containing single quotes in javascript
<pre><code>document.execCommand('insertHTML', false, 'Hello this is Veena's message');
</code></pre>

<p>How can i insert text which contains a single quotes other than passing it in double quotes like</p>

<pre><code>document.execCommand('insertHTML', false, "Hello this is Veena's message");
</code></pre>
