Speaking of Bookmarklets, I came across this very cool one the other day: SelectorGadget. SelectorGadget is an open source bookmarklet that provide CSS selector information about DOM objects on a web page.
It can be found here:
The selector info it provides can be used in jQuery. This makes getting the right syntax for querying the DOM a snap.
Check out the author’s screencast on the front page.