views:

47

answers:

1

I need to have a user poke at an element on a website, almost exactly like with Firebug as a developer. Does anyone know a simple way to do this in JavaScript, or a library like YUI or jQuery?

+1  A: 

with jquery

$("*").click(function(e){

    // do something (eg: console.log(this);)

    e.preventDefault();
    return false;
});​
yomash