2017-06-28 01:27:22 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Textarea test</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<textarea></textarea>
|
2017-07-22 03:29:31 +00:00
|
|
|
<script src='mouse-helper.js'></script>
|
2017-06-28 01:27:22 +00:00
|
|
|
<script>
|
2020-06-23 05:18:46 +00:00
|
|
|
globalThis.result = '';
|
|
|
|
globalThis.textarea = document.querySelector('textarea');
|
2017-06-28 01:27:22 +00:00
|
|
|
textarea.addEventListener('input', () => result = textarea.value, false);
|
|
|
|
</script>
|
|
|
|
</body>
|
2020-06-23 05:18:46 +00:00
|
|
|
</html>
|