Jquery source error
<p>I have a jquery routine and in the process of debugging an error message comes from the jquery source file.  I am using google cdn hosted file version 1.7.1/jquery.min</p>

<p>The error says</p>

<blockquote>
  <p>Uncaught Error: Syntax error, unrecognized expression: ''</p>
</blockquote>

<p>here is the area of code from the jquery source source (line 1530 when formatted):</p>

<pre><code> m.filter = function(a, c, d, e) {
        var f, g, h, i, j, k, l, n, p, q = a, r = [], s = c, t = c &amp;&amp; c[0] &amp;&amp; m.isXML(c[0]);
        while (a &amp;&amp; c.length) {
            for (h in o.filter)
                if ((f = o.leftMatch[h].exec(a)) != null &amp;&amp; f[2]) {
                    k = o.filter[h], l = f[1], g = !1, f.splice(1, 1);
                    if (l.substr(l.length - 1) === "\\")
                        continue;
                    s === r &amp;&amp; (r = []);
                    if (o.preFilter[h]) {
                        f = o.preFilter[h](f, s, d, r, e, t);
                        if (!f)
                            g = i = !0;
                        else if (f === !0)
                            continue
                    }
                    if (f)
                        for (n = 0; (j = s[n]) != null; n++)
                            j &amp;&amp; (i = k(j, f, n, s), p = e ^ i, d &amp;&amp; i != null ? p ? g = !0 : s[n] = !1 : p &amp;&amp; (r.push(j), g = !0));
                    if (i !== b) {
                        d || (s = r), a = a.replace(o.match[h], "");
                        if (!g)
                            return [];
                        break
                    }
                }
            if (a === q)
                if (g == null)
                    m.error(a);
                else
                    break;
            q = a
        }
        return s
    }, m.error = function(a) {
        throw new Error("Syntax error, unrecognized expression: " + a) //ERROR LINE!!
</code></pre>

<p>jquery.min.js:3 Uncaught Error: Syntax error, unrecognized expression: ''
        };</p>

<p>My code:</p>

<pre><code>$(document).ready(function(){
    debugger;
    $("tr").each(function() {
        var id = $(this).attr('id');
        var count=1;
        if (id == "row" + count){
            // var tdvalue = $('#depcode1').text();
            var tdvalue = $("'#depcode" + count + "'").text();
            if (tdvalue != null){
            //if (tdvalue != ""){
                $(this).removeClass('hiderows');
                count++;
            }
        }
    });
});
</code></pre>
