I’ve created a custom drag event, but unfortunately when I am dragging my div around all of the text on the page is being selected where I drag. I’ve tried this so far:
$(document).mousemove(function(event) {
event.preventDefault();
});
This isn’t doing it. Any thoughts?
The drag starts with the
mousedownevent.