<?xml version="1.0" encoding="utf-8"?> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>Selection drag and drop between number inputs</title> | |
</head> | |
<body onload="document.querySelector('input').select()"> | |
<p>Drag selected number to the second input box. Copy of selection should end up in the second input once you drop it there.</p> | |
<p><input type="number" value="123456789"/></p> | |
<p><input type="number" placeholder="Drop selection here"/></p> | |
</body> | |
</html> |