blob: bf378525880687abd0ca49572f983e0e1529c0af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<?xml version="1.0" encoding="utf-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Selection drag and drop: helper file</title>
<style type="text/css">
textarea
{height:1.5em;
width:7em;}
</style>
</head>
<body onload="var t = document.querySelector('textarea');t.select();t.setSelectionRange(0,7)">
<p>Drag selected text to the input field below. Copy of selection should end up in the input once you drop it there.</p>
<p><textarea>Drag me</textarea></p>
</body>
</html>
|