javascript replace 2 characters
<p>i would like to ask, how to replace char "(" and ")" with ""</p>

<p>it is because i can only replace either ( or ) with "" instead of both</p>

<p>how to achieve the goal??</p>

<p>that is</p>

<p>original: (abc, def)</p>

<p>modified:  abc, def</p>

<p>thanks</p>

<p>my code:</p>

<pre><code>&lt;html&gt;
&lt;body&gt;

&lt;script type="text/javascript"&gt;

var str="(abc, def)";
document.write(str.replace("(",""));

&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>
