aboutsummaryrefslogtreecommitdiffstats
path: root/tests/html/test_textarea_input.html
blob: be792c026b9745984560991e381f43dd563d3c95 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<html>
<head>
</head>
<body>
    <textarea id="textarea">
    </textarea>
</body>
<script>
    var area = document.getElementById('textarea');
    area.addEventListener('input', function() {
        alert('input detected');
    });
</script>
</html>