Reputation: 183
I'm aware of .on() and .off(), but how can I do something to ALL elements on the entire page? Something like this:
$('all-elements').off('click');
Upvotes: 1
Views: 27
Reputation: 388316
use *(all element) selector
$('*').off('click');
Upvotes: 2