GlobalEventHandlers.onchange
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
A propriedade onchange
determina e retorna o manipulador de eventos para o evento change
.
Syntax
element.onchange = handlerFunction; var handlerFunction = element.onchange;
handlerFunction
deve ser ou null
ou uma função JavaScript especificando o manipulador para o evento.
Notas
Veja a página do manipulador de eventos do DOM para informações sobre como trabalhar com manipuladores on...
Veja a documentação do evento change
para informações sobre o evento.
Especificações
Specification |
---|
HTML # event-change |
HTML # handler-onchange |
Compatibilidade com navegadores
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
change event |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support