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 8327043
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T00:58:11+00:00 2026-06-09T00:58:11+00:00

So I had a general question. Often, while traversing different tree elements I find

  • 0

So I had a general question. Often, while traversing different tree elements I find that the JQuery selector that I think I need ends up selecting something else, or much worse, it seems to select nothing.

For example sometimes using .child() or .sibling() it is easy to lose track of what is actually being selected.

Sometimes I can use alert()s or a console.log() to isolate the problem. Sometimes though even that doesn’t do the trick. I was curious whether anyone knew of any good tricks to know what (if anything) the selector I am using has actually selected. I don’t know if there is any firebug tools, or something else that is useful.

Any suggestions? Thanks alot.

  • 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-09T00:58:13+00:00Added an answer on June 9, 2026 at 12:58 am

    There is this Chrome extension , i don’t know if it is available for Firefox also, but you can always try it.

    Besides i always `console.log()` everything to make sure i’m selecting the right element, on nested trees for example if you’re targeting `div > ul > li > a` I `console.log($(div))` first and then i just add to the jQuery selector

    And lastly i just `$(element).css(‘background-color’,’red’);` so i can locate visually what i’m targeting

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

Sidebar

Related Questions

a bit new to programming and had a general question that I just thought
just had a general question about how to approach a certain problem I'm facing.
I had a debate about macros and their readability. I think that in some
I've just had a nagging question for a while regarding iPhone app user interfaces.
I had an interesting job interview experience a while back. The question started really
I've been learning to develop in Android and had more of a general question:
I asked a general Spring question: Auto-cast Spring Beans and had multiple people respond
So I had a question on general organization of code for the Zend framework
I had a general question about extracting code from a visual studio web test.
just a general design question that I'd like to hear some of your opinions

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.