aboutsummaryrefslogtreecommitdiff
path: root/files/pl/web/api/htmlformelement/name/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/pl/web/api/htmlformelement/name/index.html')
-rw-r--r--files/pl/web/api/htmlformelement/name/index.html44
1 files changed, 44 insertions, 0 deletions
diff --git a/files/pl/web/api/htmlformelement/name/index.html b/files/pl/web/api/htmlformelement/name/index.html
new file mode 100644
index 0000000000..673ab8f847
--- /dev/null
+++ b/files/pl/web/api/htmlformelement/name/index.html
@@ -0,0 +1,44 @@
+---
+title: HTMLFormElement.name
+slug: Web/API/HTMLFormElement/name
+tags:
+ - DOM
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Wszystkie_kategorie
+translation_of: Web/API/HTMLFormElement/name
+---
+<p>{{ ApiRef() }}</p>
+
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+
+<p><code>name</code> zwraca nazwą bieżącego elementu <code>FORM</code> jako łańcuch znaków.</p>
+
+<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
+
+<pre class="eval"><i>string</i> = form.name
+form.name =
+<i>string</i>
+</pre>
+
+<h3 id="Przyk.C5.82ad" name="Przyk.C5.82ad">Przykład</h3>
+
+<pre class="eval">form1 = document.getElementById("form1").name;
+if (form1 != document.form.form1) {
+ // przeglądarka nie obsługuje tego odniesienia do formularza
+}
+</pre>
+
+<h3 id="Uwagi" name="Uwagi">Uwagi</h3>
+
+<p>Uwaga, ta własność jest do odczytu/zapisu, która znaczy, że możemy zmienić lub ustawić nazwę formularza.</p>
+
+<p>Jeśli Twój <code>FORM</code> zawiera element nazwany "nazwany_element", następnie ten element przesłania własność <code>form.name</code>, więc nie możesz uzyskać do niego dostępu.</p>
+
+<p>Internet Explorer (IE) nie pozwala nazwie tworzonego elementu używać <code>createElement()</code> będącej ustawieniem lub modyfikacją używającą własność <code>name</code> property.</p>
+
+<h3 id="Specyfikacja" name="Specyfikacja">Specyfikacja</h3>
+
+<p><a class="external" href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-22051454">DOM Level 2 HTML: name</a></p>
+
+<p>{{ languages( { "en": "en/DOM/form.name" } ) }}</p>