jquery event listening, non-standard events

Posted by Stacey on Stack Overflow See other posts from Stack Overflow or by Stacey
Published on 2010-04-01T16:44:21Z Indexed on 2010/04/01 16:53 UTC
Read the original article Hit count: 228

Filed under:

I'm attempting to build a way for my selectors to 'listen' to 'global' events that are beyond the typical 'click' 'change' 'submit' etc. I've explored the various 'eventmanagers' that I could find, and they're all still designed for forms. Is there any way to do something like this for non-standard (i.e. custom) events? The goal is to have selectors subscribe to an event, and then be able to trigger it in one place and it will raise it for everything subscribed to it.

© Stack Overflow or respective owner

Related posts about jQuery