1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[test] bare alert is not functional yet

This commit is contained in:
Witold Filipczyk 2023-01-26 18:12:46 +01:00
parent 060abde3d6
commit 2ed5c926aa

View File

@ -11,7 +11,7 @@
<script> <script>
function myFunction(event) function myFunction(event)
{ {
alert("You pressed a key with code " + event.keyCode + " inside the input field"); window.alert("You pressed a key with code " + event.keyCode + " inside the input field");
} }
document.getElementById('k').addEventListener('keydown', myFunction); document.getElementById('k').addEventListener('keydown', myFunction);