Movatterモバイル変換


[0]ホーム

URL:


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

Events: change, input, cut, copy, paste#167

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
bilgedemirkaya merged 1 commit intojavascript-tutorial:masterfromyy34:patch-6
Jan 23, 2021
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions2-ui/4-forms-controls/3-events-change-input/article.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
#Events: change, input, cut, copy, paste
#Olaylar: change, input, cut, copy, paste

Let's discuss various events that accompany data updates.
Hadi veri güncellemelerine eşlik eden çeşitli olayları tartışalım.

##Event: change
##Olay: change

The[change](http://www.w3.org/TR/html5/forms.html#event-input-change)event triggers when the element has finished changing.
[change olayı](http://www.w3.org/TR/html5/forms.html#event-input-change)öğe değişmeyi bitirdiğinde tetiklenir.

For text inputs that means that the event occurs when it loses focus.
Bu olay metin girişleri için odak kaybedildiği zaman meydana gelir.

For instance, while we are typing in the text field below -- there's no event. But when we move the focus somewhere else, for instance, click on a button -- there will be a`change`event:
Örneğin, aşağıdaki metin alanına birşey yazarken olay yok. Ama odağı başka bir yere taşıdığımızda, örneğin, butona tıkladığımızda bir`change`olayı olacak:

```html autorun height=40 run
<input type="text" onchange="alert(this.value)">
<input type="button" value="Button">
```

For other elements:`select`, `input type=checkbox/radio`it triggers right after the selection changes.
`select`, `input type=checkbox/radio`elementlerde ise olay, elementteki değişiklikten hemen sonra tetiklenir.

## Event: input

Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp