Search code examples
jqueryfirefoxtestingpluginslive

Live testing jQuery selector


Is it possible to conveniently test jQuery selectors on some random web page using some sort of plugin for browser (Firefox)?

It would be nice if it could automatically highlight selected elements.


Solution

  • Firebug + jQuerify bookmarklet (if there's no jQuery included on the page).

    You can achieve highlighting using outline, $('.test').css('outline', '3px solid red');