How to select the input value in a drag element

<div draggable="true">
    <input />
</div>

if input is worth it and cannot be selected by mouse, div will be dragged

it is not valid to add draggable= "false" to the input element;

May.22,2021

JSBIN
< del > wrote a Demo, for you to study. < / del >

there is a problem. Let me fix it (just a moment

). < hr >

found a hack solution.
JSBIN

judge the target attribute of mouseEvent in onmousedown to dynamically add dragable

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b40ea6-2c556.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b40ea6-2c556.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?