mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
9 lines
258 B
HTML
9 lines
258 B
HTML
<input id="sample" value='0123456789abcdefghijklmnopqrstuvwxyz'/>
|
|
<div id="inputEvent">none</div>
|
|
<script>
|
|
document.getElementById('sample').addEventListener('input', function() {
|
|
document.getElementById('inputEvent').textContent = 'got';
|
|
});
|
|
</script>
|
|
|