HTML5 使用拖拽时总是报错 Cannon read property 'setData' of undefined
$(".Jdata-add").on("dragstart","li",function(e){
e.dataTransfer.setData("Text",$(this).attr("class").slice(0, -4));
$(this).css("background","#333").css("color","#fff");
});