1 Reply Latest reply on Sep 8, 2009 4:04 PM by Flex harUI

    How to resume event after prevented default action?

    xbrotherx Level 1

      Let's say I have an event handler that captures an event and I call preventDefault() if the event.target is a certain component. preventDefault() is called on that component because we want to present a user with a confirmation dialog box (i.e., "Do you want to delete this item?"). If they then click YES, it continues on with the original event handler's actions. If they click NO, we don't do anything.


      The closest example I could find was this http://www.darronschall.com/weblog/2008/01/creating-default-cancelable-event-handlers.cfm and just can't make any sense of it.