I'm trying to use drag and drop to drag an input field to another input field. The UI looks successful when I do this as I can see the dragged text but when I drop it, I don't see anything in the console where I have a line of code to verify the dropped text.
I'm not sure what I am missing?
- $("input").droppable({
- drop: function(event, ui) {
- console.log(ui.draggable.text());
- }
- });
- $("input").draggable();