I've just been working on a jQuery extension described in this question, and have now run into another problem: I need to make sure that my particular event handler runs before any other event handlers which may already be on an element.
When adding events, it appears as though they get pushed to the back of a queue, whereas I really need mine to be at the front, such that it can prevent other ones from running. How can you do this?