syntax:droppable ( options )
return type:void, element
content:ใช้กำหนด ให้ทุก element ภายใน set มีคุณสมบัติ droppable
โดย options ให้กำหนดค่า config ต่างๆ ให้กับการ drop ได้แก่
accept, tolerance, disabled, activate, deactivate, over, out, drop, activeClass, hoverClass
example:$("div.box").droppable( { accept: ".box", activeClass: "box-active", hoverClass: "box-hover" } );
var items = $("div.box").sortable ( "option", "disabled" ); // ใช้คืนค่าข้อมูลของ property ที่กำหนด
$("div.box").sortable ( "option", "disabled", true ); // ใช้กำหนดค่าให้กับ property ที่กำหนด