#4508 Adding simple test and actually getting the event to dispatch

This commit is contained in:
Matt McCoy 2015-03-17 19:54:05 -04:00
parent 5938a4c0f5
commit 0bd717e470
3 changed files with 21 additions and 6 deletions

View file

@ -0,0 +1,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>