Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6878985
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:47:27+00:00 2026-05-27T04:47:27+00:00

I have a jquery routine and in the process of debugging an error message

  • 0

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

The error says

Uncaught Error: Syntax error, unrecognized expression: ”

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

 m.filter = function(a, c, d, e) {
        var f, g, h, i, j, k, l, n, p, q = a, r = [], s = c, t = c && c[0] && m.isXML(c[0]);
        while (a && c.length) {
            for (h in o.filter)
                if ((f = o.leftMatch[h].exec(a)) != null && f[2]) {
                    k = o.filter[h], l = f[1], g = !1, f.splice(1, 1);
                    if (l.substr(l.length - 1) === "\\")
                        continue;
                    s === r && (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 && (i = k(j, f, n, s), p = e ^ i, d && i != null ? p ? g = !0 : s[n] = !1 : p && (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!!

jquery.min.js:3 Uncaught Error: Syntax error, unrecognized expression: ”
};

My 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++;
            }
        }
    });
});
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T04:47:27+00:00Added an answer on May 27, 2026 at 4:47 am

    Maybe try changing:

    var tdvalue = $("'#depcode" + count + "'").text();
    

    To:

    var tdvalue = $("#depcode" + count).text();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I keep getting this error all over the place where I only have jquery
I've been using jquery to do some image swapping and fading. I have a
I have jquery grabbing an id from something else (image) and I would like
I have jquery working on my Rails app using the gem 'jquery-rails' . I
i am using mvc and jquery in my application i have the routing url
I have a jquery.ajax routine that calls a php script. The php script does
I have a form that uses a jQTools overlay and jQuery .ajax submission routine.
I've got a UL of items using jQuery UI that I have drag and
I have jQuery code which looks something like this on Button1 Click $('table.result_grid tbody
I have jQuery to select all font elements that are children of the element

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.