Skip to content

Tag: jquery

javascript ondrag when pressing itself

Inside the div I have a set of p elements. I want to drag the selected element to the input Example: I want to transfer the text from the p element to the input when dragging, but in a multiple way, for all the p elements How, when dragging any of the multiple elements, get the text from the p