diff options
Diffstat (limited to 'files/pt-br/web/api/document/getelementsbyname/index.html')
| -rw-r--r-- | files/pt-br/web/api/document/getelementsbyname/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/pt-br/web/api/document/getelementsbyname/index.html b/files/pt-br/web/api/document/getelementsbyname/index.html index 95a80f6796..ad020540de 100644 --- a/files/pt-br/web/api/document/getelementsbyname/index.html +++ b/files/pt-br/web/api/document/getelementsbyname/index.html @@ -40,7 +40,7 @@ translation_of: Web/API/Document/getElementsByName <p>A coleção retornada {{domxref("NodeList")}} contém <em>todos</em> os elementos com o respectivo <code>nome</code>, tal como {{htmlelement("meta")}}, {{htmlelement("object")}}, e até os elementos o qual não suporta o atributo <code>nome</code> para todos.</p> <div class="warning"> -<p>O método <strong>getElementsByName</strong> trabalha diferentemente em IE10 e anteriores. Além de que, <code>getElementsByName()</code> também retorna elementos que tem um <a href="/en-US/docs/Web/HTML/Global_attributes/id">atributo</a> <code><a href="/en-US/docs/Web/HTML/Global_attributes/id">id</a></code> com o valor especificado. Seja cuidadoso para não usar a mesma string como ambos <code>nome</code> e <code>id</code>.</p> +<p>O método <strong>getElementsByName</strong> trabalha diferentemente em IE10 e anteriores. Além de que, <code>getElementsByName()</code> também retorna elementos que tem um <a href="/pt-BR/docs/Web/HTML/Global_attributes/id">atributo <code>id</code></a> com o valor especificado. Seja cuidadoso para não usar a mesma string como ambos <code>nome</code> e <code>id</code>.</p> </div> <div class="warning"> |
