What i have:
$('#main').find('*').on('click.stop', function() {return false;});
What i want:
Changing the selector '*' to all classes with a bound click_handler because of performance issues.
My idea: Assigning additional classes when binding a handler to a class.
Problem with idea: The amount of code i would have to change is too damn high! and i am very lazy…
You can write your expression to do this. jQuery does not support this selector natively.
Then, you can use:
$("*:click").on('click.stop',...hasEvent: