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

  • Home
  • SEARCH
  • 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 8892147
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T22:55:14+00:00 2026-06-14T22:55:14+00:00

It seems like something has changed lately with Chrome Dev Tools. Logging a jQuery

  • 0

It seems like something has changed lately with Chrome Dev Tools. Logging a jQuery object with console.log used to show the Element of the DOM node in the console. Something like this:

[<a href="#employees">Employees</a>]

Now it has changed to a clickable object like this:

[<a>, context: <a>]

Is there a way to go back to the old style of object logging or even a different method to call on console?

I’m currently using version 23.0.1271.64. Not sure exactly which version brought the change.

  • 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-06-14T22:55:15+00:00Added an answer on June 14, 2026 at 10:55 pm

    If you want console.log() to spit out the DOM element, you need to log the DOM element and not the jQuery object. The DOM element is always accessible as the 0th element of the jQuery selector. So, the way you would access the actual DOM element from a jQuery selector is like this:

       $("#someSingleDOMObjectSelector")[0]
    

    And to get the DOM element to appear in the log the way you would like, you would do this:

       console.log($("#someSingleDOMObjectSelector")[0]);
    

    And for jQuery selectors which contain/return multiple DOM elements, you could loop them, like this:

       $('.someMultipleDOMObjectSelector').each(function(){
               //console.log($(this)[0]); //or -->
               console.log(this);
       });
    

    As to why Chrome’s dev tools do this, I can only guess that it is done because it makes more sense to log a jQuery object as an object.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This seems like something that could be quite useful and yet and I can't
Is there any intrinsic support for namespacing in coffeescript? Adequate namespacing seems like something
I could do it with regex (something like myString.match(/^[A-Za-z0-9]$/) ) but it seems like
This seems like I'm missing something obvious but I can't get redirects (>) to
This seems like it should be something I already know. We need to run
This seems like it should be something very easy to do, but every time
I am looking to write something that seems like it should be easy enough,
Hi this seems like it should work, from something in collectionofsomestuff select new SelectListItem(){Text
cgi.escape seems like one possible choice. Does it work well? Is there something that
It seems to be possible in Java to write something like this: private enum

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.