how to pass data with quotation(") to a dialog in jQuery
<p>Supposed I have the following code:</p>

<pre><code>&lt;html:link onclick="jQuery('#add').data('name','${name}').dialog('open');" href="#"&gt;
</code></pre>

<p>And with this, if <strong>${name} = a"b"c</strong>, problem occurs, link was not rendered well.
I have tried to escape the value, serialize but maybe my way is wrong.</p>

<p>Any suggestion how to do this? I have been searching, but i just cant find the answer.</p>

<p>Thanks all in advance.</p>
