<td id="unassignedUsers" class="userList">
<?php for ($i = 0; $i < $length; $i++) { ?>
<a href="#" draggable="true" ondrop="(alert('hi!'))" ><?php echo $arrayusers[$i]['User']['fullname']; ?> </a>
<?php } ?>
After inserting draggable tags into the lost, I need to capture the text from each tag that has been dragged into the list. This event should be triggered by a button click.
What is a good way to accomplish this behavior?
This will get the text from the anchors with the
unassignedUserselement: