| cancelBubble | ใช้กำหนดว่าต้องการหยุดการทำงานของ event ( กำหนดให้เป็น true ) |
|---|
property:cancelBubble;
return type:void
content:ใช้กำหนดว่าต้องการหยุดการทำงานของ event ( กำหนดให้เป็น true )
example:function stopRight ( event ) { if ( event.button == 2 ) { event.cancelBubble = true; } } document.attachEvent ( "onclick", stopRight );
comment:ใช้กับ browser IE