jQuery Easy UI 04「李炎恢」~放置元件

01.放置元件名->droppable

02.droppable事件,onDragEnter只触发一次 [顏色改變=>$(this).css('background', 'blue');]

03.droppable事件,onDragOver会在不停的拖动中不停触发[顏色改變=>$(this).css('background', 'orange');],所以有Over就看不到Enter

04.droppable事件,onDragLeav離開觸發[顏色改變=>$(this).css('background', 'green');]

05.droppable事件,onDrop放置元件觸發[顏色改變=>$(this).css('background', 'maroon');]
拖動元件->draggable