| returnValue | ใช้กำหนดให้ event ไม่ทำงาน ( กำหนดให้เป็น false ) คือเหมือนไม่มี Event เกิดขึ้น |
|---|
property:returnValue;
return type:void
content:ใช้กำหนดให้ event ไม่ทำงาน ( กำหนดให้เป็น false ) คือเหมือนไม่มี Event เกิดขึ้น
example:function notInputData ( event ) { event.returnValue = false; } var tagText = document.getElementById ( "bamboo" ); tagText.attachEvent ( "onkeypress", notInputData );
comment:ใช้กับ browser IE