So I’ve started using custom events heavily in the app I’m writing and find myself binding them all to the body tag. Personally I’d rather not have to bind to any tag at all for custom events.
Am I doing something wrong (I get the feeling I am)? Also is there any harm in binding and triggering lots of events through the body tag?
you can use jQuery pub/sub plugin by Peter Higgins
really small and simple, and you don’t bind actual events to the body