2012-08-22 38 views

回答

1

添加updateCanvas回調到您的通話拖動,如下圖所示:

$(document).ready(function() { 
    $(".blk").draggable(
     {drag: function() {updateCanvas($("#canvas"), $(".blk"));}} 
    ); 
}); 
+0

太神奇了!謝謝!!!!!!! – Reuben