I've said this before, but I'd love for jQuery to add a property to event object that would allow us to determine if the event was triggered by the browser or by the programmatically calling the trigger() event. Something like:
e.jqueryTrigger = true/false; I've just run into a couple of cases of late when I was writting plug-ins where I needed to handle something slightly different based on whether the event handler was fired by an actual event or if it was fired by calling the trigger() method on the event. -Dan On Fri, Sep 19, 2008 at 10:29 AM, Brandon Aaron <[EMAIL PROTECTED]>wrote: > Awesome. Small change with a big impact! > -- > Brandon Aaron > > On Thu, Sep 18, 2008 at 10:18 PM, John Resig <[EMAIL PROTECTED]> wrote: > >> >> Dan Webb has given us a patch for custom event bubbling: >> http://dev.jquery.com/attachment/ticket/3379/bubble.patch >> >> Any thoughts? >> >> --John >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---
