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:
parent
060abde3d6
commit
2ed5c926aa
@ -11,7 +11,7 @@
|
||||
<script>
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user