From de5c456ebded0e038adbf23db34cc290c8829180 Mon Sep 17 00:00:00 2001 From: Florian Merz Date: Thu, 11 Feb 2021 14:49:24 +0100 Subject: unslug pl: move --- .../conflicting/web/api/node/firstchild/index.html | 37 ++++++++++++++++++++++ .../web/api/node/namespaceuri/index.html | 26 +++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 files/pl/conflicting/web/api/node/firstchild/index.html create mode 100644 files/pl/conflicting/web/api/node/namespaceuri/index.html (limited to 'files/pl/conflicting/web/api/node') diff --git a/files/pl/conflicting/web/api/node/firstchild/index.html b/files/pl/conflicting/web/api/node/firstchild/index.html new file mode 100644 index 0000000000..f53cd74778 --- /dev/null +++ b/files/pl/conflicting/web/api/node/firstchild/index.html @@ -0,0 +1,37 @@ +--- +title: document.firstChild +slug: Web/API/Document/firstChild +tags: + - DOM + - Dokumentacja_Gecko_DOM + - Gecko + - Wszystkie_kategorie +translation_of: Web/API/Node/firstChild +translation_of_original: Web/API/document.firstChild +--- +

{{ ApiRef() }}

+

Podsumowanie

+

document.firstChild zwraca pierwszy węzeł z listy bezpośrednich dzieci dokumentu.

+

Składnia

+
dziecko = document.firstChild
+
+

Parametry

+ +

Przykład

+
function fChild() {
+  f = document.firstChild;
+  alert(f.tagName);
+}
+// wyświetli: HTML
+
+

Uwagi

+

Zauważ, że możesz powrócić do drzewa DOM z tą własnością, by przejąć te węzły potomne, których potrzebujesz, ponieważ prawie zawsze firstChild zwraca element HTML.

+

Specyfikacja

+

firstChild

+

 

+

 

+
+  
+

{{ languages( { "en": "en/DOM/document.firstChild", "es": "es/DOM/document.firstChild", "fr": "fr/DOM/document.firstChild", "ja": "ja/DOM/document.firstChild" } ) }}

diff --git a/files/pl/conflicting/web/api/node/namespaceuri/index.html b/files/pl/conflicting/web/api/node/namespaceuri/index.html new file mode 100644 index 0000000000..51ad1e71c0 --- /dev/null +++ b/files/pl/conflicting/web/api/node/namespaceuri/index.html @@ -0,0 +1,26 @@ +--- +title: document.namespaceURI +slug: Web/API/Document/namespaceURI +tags: + - DOM + - Dokumentacja_Gecko_DOM + - Gecko + - Wszystkie_kategorie +translation_of: Web/API/Node/namespaceURI +translation_of_original: Web/API/Document/namespaceURI +--- +

{{ ApiRef() }}

+

Podsumowanie

+

namespaceURI zwraca przestrzeń nazw XML dokumentu.

+

Składnia

+
NSURI = document.namespaceURI
+
+

Parametry

+ +

Uwagi

+

DOM jako takie nie obsługuje ani nie wymaga walidacji przestrzeni nazw. Przeprowadzenie walidacji, jeśli jest taka potrzeba, zależy od aplikacji obsługującej DOM. Zauważ też, że prefiks przestrzeni nazw nie może zostać zmieniony, kiedy już raz zostanie przypisany węzłowi.

+

Specyfikacja

+

namespaceURI

+

{{ languages( { "en": "en/DOM/document.namespaceURI", "fr": "fr/DOM/document.namespaceURI" } ) }}

-- cgit v1.2.3-54-g00ecf