I'm in need of some assistance. It seems like a simple task, but I'm having trouble finding a solution.
I've managed to create draggable elements that work smoothly without any issues. The drag and drop functionality is working perfectly.
However, I've encountered a problem:
When I drag a box (which is a div), I see two copies of it on my screen - one at its original position and one moving with my mouse.
My goal is to make the original box disappear as soon as I start dragging it. I only want the dragging box to be visible on the screen.
I'm using CodeIgniter as my framework and JavaScript for the drag and drop features. I haven't incorporated jQuery due to my limited understanding of it.
Any help would be greatly appreciated.