| onchange | ใช้กำหนดให้ function ทำงานเมื่อ ข้อมูลใน textarea เปลี่ยนแปลง |
|---|
property:onchange = function;
return type:void
content:ใช้กำหนดให้ function ทำงานเมื่อ ข้อมูลใน textarea เปลี่ยนแปลง
example:var tagTextArea = document.getElementById ( "bamboo" ); tagTextArea.onchange = function() { alert ( "textarea be changed" ); }