javascript event cancelBubble

cancelBubbleNN 6 IE 4 DOM n/a

Read/Write

Specifies whether the event should propagate (bubble) up the element container hierarchy. You usually only need to set this property to true to override the default behavior and prevent the event from going any further. Netscape 6 implements this IE property for convenience. The W3C DOM equivalent is the stopPropagation( ) method of the event object.

 
Example
 
evt.cancelBubble = true;
 
Value

Boolean: true | false.

 
Default

false


749,Nickname,Homepage or email,Comments here,Add comment