jquery - Drag and drop doesn't work on IE -


i issue when execute code on ie, works fine on chrome , firefox not on ie.

my code :

        $.event.props.push('datatransfer');         $cases.children('div').on('mouseenter', function(){             $cases.on({                 dragstart: function(e) {                     e.datatransfer.setdata('text', $(this).text());                 },                 dragenter: function(e) {                      console.log('data == '+ e.datatransfer.getdata('text')); // return nothing                      $(this).addclass('ondraggableelement');                     var $expendcase = $(this).children('div');                     $(this).html(e.datatransfer.getdata('text'));                     $(this).append($expendcase);                     e.preventdefault();                 },                 dragleave: function(e) {},                 dragover: function(e) {                     e.preventdefault();                 },                 drop: function(e) {},                 dragend: function(e) {                     $('td[draggable="true"').removeclass('ondraggableelement');                     unselectcase();                 }             });         }); 


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -