proper onclick format
<p>What is the proper way of doing this?</p>

<pre><code>$chatterhtml .= '&lt;span style="float:right;" &gt;
          &lt;a href="javascript:void(0);" onClick="deletecmnt(this, "'.$val['id'].'", "'.BASE_URL.'");" title="Delete Chatter"&gt;x&lt;/a&gt;
                &lt;/span&gt;';
</code></pre>

<p>I am receiving an error in Firefox <code>SyntaxError: syntax error deletecmnt(this,</code> but this worked up until I changed from a input text to text area. </p>
