When I use chrome, any selected text in an input or a text box can be dragged and dropped into another input/textarea. Is there any way to disable dragging of selected text?
document.getElementById("test").addEventListener("dragstart", function(e){ e.preventDefault(); });