Is there something in jquery where a function is triggered when any event is fired?
I'd like something like this:
$("*").anyEvent(function(){
$("#error").html("");
});
Is there something in jquery where a function is triggered when any event is fired?
I'd like something like this:
$("*").anyEvent(function(){
$("#error").html("");
});
...but would you want to do this?