Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

drag and drop textarea html

self.makeDroppable = function(elements) {
      $(".txtDropTarget").droppable({
        accept: "li",
        drop: function(ev, ui) {
          $(this).insertAtCaret(ui.draggable.text()).change();
        }
      });
    };
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #drag #drop #textarea #html
ADD COMMENT
Topic
Name
3+5 =