jQuery – SelectorGadget and interactive tester

One of the fundamental features of the jQuery javascript library is its powerful selectors, that allow you to find elements in the DOM tree using CSS syntax. However, it can be annoying if you are writing some code and your selectors don’t seem to be picking out the object or objects you want. Did you know that there are some very useful tools to help in this situation:

SelectorGadget is a tool that you can open on any web page. You then select an html element and it writes the CSS selector for you!

Alternatively, if you want to interactively test a selector against arbitrary html, try:

This entry was posted in jQuery and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

HTML tags are not allowed.

517,234 Spambots Blocked by Simple Comments