aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/api/htmlformelement/elements/index.html
diff options
context:
space:
mode:
authorAlexey Pyltsyn <lex61rus@gmail.com>2021-10-27 02:31:24 +0300
committerGitHub <noreply@github.com>2021-10-27 02:31:24 +0300
commit980fe00a74a9ad013b945755415ace2e5429c3c2 (patch)
treea1c6bb4b302e69bfa53eab13e44500eba55d1696 /files/ru/web/api/htmlformelement/elements/index.html
parent374a039b97a11ee7306539d16aaab27fed66b398 (diff)
downloadtranslated-content-980fe00a74a9ad013b945755415ace2e5429c3c2.tar.gz
translated-content-980fe00a74a9ad013b945755415ace2e5429c3c2.tar.bz2
translated-content-980fe00a74a9ad013b945755415ace2e5429c3c2.zip
[RU] Remove notranslate (#2874)
Diffstat (limited to 'files/ru/web/api/htmlformelement/elements/index.html')
-rw-r--r--files/ru/web/api/htmlformelement/elements/index.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/files/ru/web/api/htmlformelement/elements/index.html b/files/ru/web/api/htmlformelement/elements/index.html
index dbd4e1ddcd..a1e9d8d068 100644
--- a/files/ru/web/api/htmlformelement/elements/index.html
+++ b/files/ru/web/api/htmlformelement/elements/index.html
@@ -17,7 +17,7 @@ translation_of: Web/API/HTMLFormElement/elements
<h2 id="Syntax">Syntax</h2>
-<pre class="syntaxbox notranslate"><em>nodeList</em> = <em>HTMLFormElement</em>.elements
+<pre class="syntaxbox"><em>nodeList</em> = <em>HTMLFormElement</em>.elements
</pre>
<h3 id="Value">Value</h3>
@@ -34,13 +34,13 @@ translation_of: Web/API/HTMLFormElement/elements
<p>In this example, we see how to obtain the list of form controls as well as how to access its members by index and by name or ID.</p>
-<pre class="brush: html notranslate">&lt;form id="my-form"&gt;
+<pre class="brush: html">&lt;form id="my-form"&gt;
&lt;input type="text" name="username"&gt;
&lt;input type="text" name="full-name"&gt;
&lt;input type="password" name="password"&gt;
&lt;/form&gt;</pre>
-<pre class="brush:js notranslate">var inputs = document.getElementById("my-form").elements;
+<pre class="brush:js">var inputs = document.getElementById("my-form").elements;
var inputByIndex = inputs[0];
var inputByName = inputs["username"];
</pre>
@@ -49,7 +49,7 @@ var inputByName = inputs["username"];
<p>This example gets the form's element list, then iterates over the list, looking for {{HTMLElement("input")}} elements of type <code><a href="/en-US/docs/Web/HTML/Element/input/text">"text"</a></code> so that some form of processing can be performed on them.</p>
-<pre class="brush: js notranslate">var inputs = document.getElementById("my-form").elements;
+<pre class="brush: js">var inputs = document.getElementById("my-form").elements;
// Iterate over the form controls
for (i = 0; i &lt; inputs.length; i++) {
@@ -62,7 +62,7 @@ for (i = 0; i &lt; inputs.length; i++) {
<h3 id="Disabling_form_controls">Disabling form controls</h3>
-<pre class="brush: js notranslate">var inputs = document.getElementById("my-form").elements;
+<pre class="brush: js">var inputs = document.getElementById("my-form").elements;
// Iterate over the form controls
for (i = 0; i &lt; inputs.length; i++) {