Events can be cancelled and have their default action prevented. If the event can support this, then the true value will be present. This will affect the value returned to the dispatcher that triggered the event. Dispatchers should behave consistently whether they are EventTarget objects or the implementation that the scripts are executing in.
Prev | Home | Next |
Event.button | Up | Event.cancelBubble |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |