Onclick javascript Quotation mark - ASP.NET
<p>When the variable have quotation marks or single quotes the function doesn't work.</p>

<p>Code:</p>

<pre><code>&lt;a onclick="javascript:return OpenModal('&lt;%# GeraLog(Eval("loe_id")) %&gt;')" style="cursor:   pointer"&gt; &lt;img src="../Imagens/Visualizar.png" alt="Descrição" /&gt;&lt;/a&gt;
</code></pre>
