From 074785cea106179cb3305637055ab0a009ca74f2 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:52 -0500 Subject: initial commit --- .../api/globaleventhandlers/onchange/index.html | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 files/pt-br/web/api/globaleventhandlers/onchange/index.html (limited to 'files/pt-br/web/api/globaleventhandlers/onchange') diff --git a/files/pt-br/web/api/globaleventhandlers/onchange/index.html b/files/pt-br/web/api/globaleventhandlers/onchange/index.html new file mode 100644 index 0000000000..c2dab3f1d8 --- /dev/null +++ b/files/pt-br/web/api/globaleventhandlers/onchange/index.html @@ -0,0 +1,46 @@ +--- +title: GlobalEventHandlers.onchange +slug: Web/API/GlobalEventHandlers/onchange +tags: + - API + - HTML DOM + - Propriedade + - Referencia +translation_of: Web/API/GlobalEventHandlers/onchange +--- +
+
{{ ApiRef("HTML DOM") }}
+
+ +

A propriedade onchange determina e retorna o manipulador de eventos para o evento {{event("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 {{event("change")}} para informações sobre o evento.

+ +

Especificação

+ + + + + + + + + + + + + + +
EspecificaçãoStatusComentários
{{SpecName('HTML WHATWG','webappapis.html#handler-onchange','onchange')}}{{Spec2('HTML WHATWG')}} 
-- cgit v1.2.3-54-g00ecf