javascript output with double quote in asp.net c#
<p>when i generate text from database using datatables in asp.net c#, i can generate this <code>"&lt;a href='javascript:txtreplace('text to replace')'&gt;" + lbltext.Text + "&lt;/a&gt;"</code> </p>

<p>output is</p>

<p><code>&lt;a onclick='txtreplace('text to replace')'&gt;text&lt;/a&gt;</code>  </p>

<p>but is in not working on webpage, it is noly working when <strong>onclick</strong> is in Ddouble quote like <code>&lt;a onclick="txtreplace('text to replace')"&gt;text&lt;/a&gt;</code></p>

<p>how to generate text with double quote in <strong>"onclick"</strong> from database or any other solution to access javascript function</p>
