I have an empty textbox, and I have some buttons with values like:
+
, -
, *
, /
, palavra1
, palavra2
so on.
I want to fill this textbox by dragging these buttons into it, not just clicking on them, I saw something that can be done in HTML5 / Javascript, but I could not solve it.
Note: I would click and hold the mouse drag this button into the textbox and the textbox would pick up the value of this button, as if it were a real lego riding inside the textbox as strings.
Note 2: It has to be with buttons or inputs, not with images.