{"json_modified": "2015-08-26T19:53:47.118628", "slug": "Web/API/Document/getElementsByClassName", "tags": [], "locale": "es", "title": "Document.getElementsByClassName()", "translations": [{"title": "Document.getElementsByClassName()", "url": "/en-US/docs/Web/API/Document/getElementsByClassName", "tags": ["API", "Reference", "R\u00e9f\u00e9rence", "Method", "HTML5", "Gecko DOM Reference", "DOM", "Gecko", "DOM Element Methods"], "summary": "Returns an array-like object of all child elements which have all of the given class names. When called on the document object, the complete document is searched, including the root node. You may also call getElementsByClassName() on any element; it will return only elements which are descendants of the specified root element with the given class names.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-02-21T09:56:01", "review_tags": []}, {"title": "document.getElementsByClassName", "url": "/pt-PT/docs/DOM/document.getElementsByClassName", "tags": ["Refer\u00eancia_do_DOM_Gecko"], "summary": "", "localization_tags": [], "locale": "pt-PT", "last_edit": "2014-10-23T12:46:15", "review_tags": []}, {"title": "document.getElementsByClassName", "url": "/ja/docs/Web/API/Document/getElementsByClassName", "tags": ["Gecko DOM Reference", "DOM", "Gecko", "\u8981\u66f4\u65b0"], "summary": "", "localization_tags": [], "locale": "ja", "last_edit": "2014-10-28T08:21:36", "review_tags": []}, {"title": "document.getElementsByClassName", "url": "/fr/docs/Web/API/Document/getElementsByClassName", "tags": ["R\u00e9f\u00e9rence_du_DOM_Gecko"], "summary": "", "localization_tags": [], "locale": "fr", "last_edit": "2014-10-23T20:42:48", "review_tags": []}, {"title": "Document.getElementsByClassName()", "url": "/zh-CN/docs/Web/API/Document/getElementsByClassName", "tags": [], "summary": "\u8fd4\u56de\u4e00\u4e2a\u7c7b\u4f3c\u6570\u7ec4\u7684\u5bf9\u8c61\uff0c\u5305\u542b\u4e86\u6240\u6709\u6307\u5b9a class \u540d\u79f0\u7684\u5b50\u5143\u7d20\u3002\u00a0Returns an array-like object of all child elements which have all of the given class names. When called on the document object, the complete document is searched, including the root node. You may also call getElementsByClassName() on any element; it will return only elements which are descendants of the specified root element with the given class names.", "localization_tags": ["inprogress"], "locale": "zh-CN", "last_edit": "2015-05-29T19:29:56", "review_tags": []}, {"title": "Document.getElementsByClassName()", "url": "/ru/docs/Web/API/Document/getElementsByClassName", "tags": [], "summary": "\u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043c\u0430\u0441\u0441\u0438\u0432 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0445 \u0435\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u043c\u0443 \u0438\u043c\u0435\u043d\u0438 \u043a\u043b\u0430\u0441\u0441\u0430. \u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0432\u044b\u0437\u043e\u0432\u0430 \u043d\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u0435 'document', \u043f\u043e\u0438\u0441\u043a \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u043e \u0432\u0441\u0435\u043c\u0443 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0443, \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u0439 \u0435\u043b\u0435\u043c\u0435\u043d\u0442. \u0412\u044b \u0442\u0430\u043a \u0436\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u044b\u0437\u044b\u0432\u0430\u0442\u044c getElementsByClassName()\u00a0 \u043d\u0430 \u043b\u044e\u0431\u043e\u043c \u0435\u043b\u0435\u043c\u0435\u043d\u0442\u0435, \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c \u0440\u0430\u0431\u043e\u0442\u044b \u0431\u0443\u0434\u0435\u0442 \u043c\u0430\u0441\u0441\u0438\u0432 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0445 \u0435\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0441 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u043c \u0438\u043c\u0435\u043d\u0435\u043c \u043a\u043b\u0430\u0441\u0441\u0430, \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0433\u043e \u0435\u043b\u0435\u043c\u0435\u043d\u0442\u0430.", "localization_tags": ["inprogress"], "locale": "ru", "last_edit": "2015-04-10T05:02:55", "review_tags": []}, {"title": "Document.getElementsByClassName()", "url": "/zh-TW/docs/Web/API/Document/getElementsByClassName", "tags": [], "summary": "Returns an array-like object of all child elements which have all of the given class names. When called on the document object, the complete document is searched, including the root node. You may also call getElementsByClassName() on any element; it will return only elements which are descendants of the specified root element with the given class names.", "localization_tags": ["inprogress"], "locale": "zh-TW", "last_edit": "2015-08-16T20:56:19", "review_tags": []}], "modified": "2015-08-26T19:53:45", "label": "Document.getElementsByClassName()", "localization_tags": ["inprogress"], "url": "/es/docs/Web/API/Document/getElementsByClassName", "last_edit": "2015-08-26T19:53:41", "summary": "Retorna un objecto similar a un array de los elementos hijos que tengan todos los nombres de clase indicados. Cuando es llamado sobre el objeto document , la busqueda se realiza en todo el document, incluido el nodo ra\u00edz. Tambi\u00e9n puedes llamar getElementsByClassName() sobre cualquier elemento; en ese caso retornara s\u00f3lo los elementos hijos del elemento ra\u00edz indicado que contengan los nombres de clase indicados.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Sintaxis"}, {"id": "Examples", "title": "Ejemplos"}, {"id": "Compatibilidad_con_navegadores", "title": "Compatibilidad con navegadores"}, {"id": "Specification", "title": "Especifiaci\u00f3n"}], "id": 160149, "review_tags": []}