How do you escape parentheses in jquery selector?
<p>I am trying to check if a td innertext contains parentheses (). The reason is I display negative numbers as (1000) and I need to convert them to -1000 to do math. I've tried a couple different ways but can't seem to get it right. I know there are non-jquery ways to do this but at this point it's just bugging me.</p>

<pre><code>$(tdElement[i]).find("\\(").length &gt; 0
</code></pre>

<p>This doesn't throw error, but it doesn't find an innertext of (1000):</p>

<pre><code>$(tdElement[i]).find("\\(")
{...}
    context: {object}
    jquery: "1.3.1"
    length: 0
    prevObject: {...}
    selector: "\("
</code></pre>

<p>Another method I tried was:</p>

<pre><code>$("#fscaTotals td").filter(":contains('\\(')")
</code></pre>

<p>This throws error "Exception thrown and not caught". It seems to work for other characters though. example: . , ; &lt; > </p>

<p>so, how do you escape parentheses in jquery?</p>
