mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 09:04:59 +00:00
18 lines
385 B
HTML
18 lines
385 B
HTML
<input id=input type=text>
|
|
<script src="include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
let input = document.getElementById("input");
|
|
|
|
input.addEventListener("focus", () => {
|
|
println("focus");
|
|
});
|
|
|
|
input.addEventListener("blur", () => {
|
|
println("blur");
|
|
});
|
|
|
|
input.focus();
|
|
input.blur();
|
|
})
|
|
</script>
|