On Sat, Sep 27, 2008 at 3:35 AM, debussy007 <[EMAIL PROTECTED]> wrote:
> > > Hi, > > For a lot of asynschronous calls, like the effects, jQuery provides > completion callbacks which are very useful. > Unfortunately it doesn't provide completion callbacks for events. > > How am I able to know when an event has been completely processed ? > Once a specific event has been processed, I would like to perform other > instructions. Can you describe what you mean by "when an event has been completely processed"? Maybe provide a concrete example? Events occur or fire, they don't process. So you can be notified when events occur/are triggered using: $("#myEl").bind("keydown", function() { ... }) //or $("#myEl").keydown(function() { ... }) and same for any events (click, mousedown, mousemove, mouseup, change, etc). At what other time would you want to be notified? keyup and keypress are separate events (to complete this example). - Richard