原创 火狐浏览器拖拽问题

html5的拖拽,用了preventDefault防止弹出新页面,但在火狐下不管用? 解决办法: document.body.ondrop = function (event) { event.preventDefault(); event.stopPropagation(); } 或者对于上面的实例中,添加到ondrop方法...
html5的拖拽,用了preventDefault防止弹出新页面,但在火狐下不管用? 解决办法: document.body.ondrop = function (event) { event.preventDefault(); event.stopPropagation(); } 或者对于上面的实例中,添加到ondrop方法...