Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 98c7e63

Browse files
change and input event
1 parent c0f6f32 commit 98c7e63

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎Basic Introduction/index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020

2121
x.addEventListener('focus' , myFocusFunction);
2222
x.addEventListener('blur' , myBlurFuction);
23+
x.addEventListener('input' , function(){
24+
console.log(this.value);
25+
})
2326

2427
function myFocusFunction(){
2528
x.style.background = 'yellow';

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /