Is it possible to return the "highlighted" (like Firebug) css selector or dom id with jquery?
Posted
by Jonathan
on Stack Overflow
See other posts from Stack Overflow
or by Jonathan
Published on 2010-05-10T14:32:55Z
Indexed on
2010/05/10
14:44 UTC
Read the original article
Hit count: 250
Hi Folks,
When you click the "Click an element on the page to inspect" arrow with FireBug, it puts a Blue Border around the target element, and also returns the DOM Id.
I am building an application and that feature would be awesome to add. Be able to hover over elements and highlight the target, upon clicking return the DOM Id or CSS selector to the application.
Is there a jquery plugin that does this magic? Some other smart way?
Thanks!,
Jonathan
© Stack Overflow or respective owner