Label drag
I make a man-hour system.
To record each person's hours
But it counts how many hours each person works, not how many hours to enter in the text box.
He is to be dragged by.
That is true
There are 7 tabs at the top of the page each label represents how many hours, when the user to count how long you work, you only need to use the mouse to drag the label above the corresponding area to achieve the fill,
My question is, how can I tell which label this area is dragging?
Reply to discussion (solution)
Previous picture may be more image
The label should have a name? According to him, he can get
Specific practices related to your code
Oh
Let's say.
I'm going to put the one-hour label on the May 6.
Then I am at the point of confirming the submission, you have to send the corresponding data to the back section
I just do not know, my code or the effect of what name can implement such a function
Is the drag not done by JS? When the drag is complete, you put the tag name in the hidden space. Did you submit the question?