| onselect | ใช้กำหนดให้ function ทำงานเมื่อมีการลากแถบสีคลุมข้อความใน file |
|---|
property:onselect = function;
return type:void
content:ใช้กำหนดให้ function ทำงานเมื่อมีการลากแถบสีคลุมข้อความใน file
example:var tagFile = document.getElementById ( "bamboo" ); tagFile.onselect = function() { alert ( "file be selected" ); }