aboutsummaryrefslogtreecommitdiff
path: root/files/pt-br/web/api/globaleventhandlers/onchange
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:42:52 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:42:52 -0500
commit074785cea106179cb3305637055ab0a009ca74f2 (patch)
treee6ae371cccd642aa2b67f39752a2cdf1fd4eb040 /files/pt-br/web/api/globaleventhandlers/onchange
parentda78a9e329e272dedb2400b79a3bdeebff387d47 (diff)
downloadtranslated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.gz
translated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.bz2
translated-content-074785cea106179cb3305637055ab0a009ca74f2.zip
initial commit
Diffstat (limited to 'files/pt-br/web/api/globaleventhandlers/onchange')
-rw-r--r--files/pt-br/web/api/globaleventhandlers/onchange/index.html46
1 files changed, 46 insertions, 0 deletions
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
+---
+<div>
+<div>{{ ApiRef("HTML DOM") }}</div>
+</div>
+
+<p>A propriedade <code>onchange</code> determina e retorna o <a href="/docs/Web/Guide/Events/Event_handlers" title="/en-US/docs/Web/Guide/DOM/Events/Event_handlers">manipulador de eventos</a> para o evento {{event("change")}}.</p>
+
+<h2 id="Syntax" name="Syntax">Syntax</h2>
+
+<pre class="syntaxbox"><em><var>element</var></em>.onchange = <em>handlerFunction</em>;
+var <em>handlerFunction</em> = <em><var>element</var></em>.onchange;
+</pre>
+
+<p><code><em>handlerFunction</em></code> deve ser ou <code>null</code> ou uma <a href="/en-US/docs/Web/JavaScript/Reference/Functions" title="/en-US/docs/JavaScript/Reference/Functions_and_function_scope">função JavaScript</a> especificando o manipulador para o evento.</p>
+
+<h2 id="Notes" name="Notes">Notas</h2>
+
+<p>Veja a página do <a href="/en-US/docs/Web/Guide/Events/Event_handlers" title="/en-US/docs/Web/Guide/DOM/Events/Event_handlers">manipulador de eventos do DOM</a> para informações sobre como trabalhar com manipuladores <code>on...</code> </p>
+
+<p>Veja a documentação do evento {{event("change")}} para informações sobre o evento.</p>
+
+<h2 id="Specification" name="Specification">Especificação</h2>
+
+<table class="spectable standard-table">
+ <tbody>
+ <tr>
+ <th scope="col">Especificação</th>
+ <th scope="col">Status</th>
+ <th scope="col">Comentários</th>
+ </tr>
+ <tr>
+ <td>{{SpecName('HTML WHATWG','webappapis.html#handler-onchange','onchange')}}</td>
+ <td>{{Spec2('HTML WHATWG')}}</td>
+ <td> </td>
+ </tr>
+ </tbody>
+</table>