From 074785cea106179cb3305637055ab0a009ca74f2 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:52 -0500 Subject: initial commit --- files/ru/web/api/document/applets/index.html | 71 ++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 files/ru/web/api/document/applets/index.html (limited to 'files/ru/web/api/document/applets') diff --git a/files/ru/web/api/document/applets/index.html b/files/ru/web/api/document/applets/index.html new file mode 100644 index 0000000000..c82cbdb403 --- /dev/null +++ b/files/ru/web/api/document/applets/index.html @@ -0,0 +1,71 @@ +--- +title: Document.applets +slug: Web/API/Document/applets +tags: + - API + - Document + - HTML DOM + - Апплеты + - Документ +translation_of: Web/API/Document/applets +--- +

{{APIRef("DOM")}}

+ +

applets возвращает массив апплетов, находящихся в документе.

+ +
+

Note: The {{htmlelement("applet")}} element was removed in Gecko 56 and Chrome in late 2015. Since then, calling document.applets in those browsers always returns an empty {{domxref("HTMLCollection")}}. Removal is being considered in WebKitand Edge.

+
+ +

Синтаксис

+ +
nodeList = document.applets
+
+ +

 

+ +

Значение

+ +

{{domxref("HTMLCollection")}}.

+ +

 

+ +

Пример

+ +
// Когда вы точно знаете, что вам нужен 2й апплет
+my_java_app = document.applets[1];
+
+ +

Спецификации

+ + + + + + + + + + + + + + + + + + + + + +
СпецификацияСтатусКомментарий
{{SpecName('HTML WHATWG', '#dom-document-applets', 'Document.applets')}}{{ Spec2('HTML WHATWG') }}Obsoleted.
{{SpecName('DOM2 HTML', 'html.html#ID-85113862', 'Document.applets')}}{{ Spec2('DOM2 Events') }}Initial definition.
+ +

Браузерная поддержка

+ + + +

{{Compat("api.Document.applets")}}

+ +

 

-- cgit v1.2.3-54-g00ecf