{"json_modified": "2015-11-22T08:36:09.321356", "slug": "Web/API/ParentNode/childElementCount", "tags": ["ParentNode", "API", "children", "childElement", "DOM", "ChildNode"], "locale": "es", "title": "ParentNode.childElementCount", "translations": [{"title": "ParentNode.childElementCount", "url": "/zh-CN/docs/Web/API/ParentNode/childElementCount", "tags": [], "summary": "childElementCount
\u5c5e\u6027\u8fd4\u56de\u5f53\u524d\u5143\u7d20\u7684\u5b50\u5143\u7d20\u4e2a\u6570,\u800c\u4e0d\u662f\u5b50\u8282\u70b9\u4e2a\u6570. \u53ea\u6709\u5f53\u4e00\u4e2a\u8282\u70b9\u7684nodeType\u5c5e\u6027\u4e3a1(Node.ELEMENT_NODE==1)\u65f6,\u5b83\u624d\u662f\u5143\u7d20\u8282\u70b9 .\u6587\u672c\u8282\u70b9\u548c\u6ce8\u91ca\u8282\u70b9\u4e0d\u5c5e\u4e8e\u5143\u7d20\u8282\u70b9.
\n \u5982\u679c\u4f60\u9700\u8981\u83b7\u53d6\u4e00\u4e2a\u5143\u7d20\u7684\u5b50\u5143\u7d20\u800c\u4e0d\u662f\u5b50\u5143\u7d20\u4e2a\u6570, \u8bf7\u4f7f\u7528element.children
\u5c5e\u6027.
\n \u6ce8\u610f:\u5728IE9\u4e4b\u524d,element.children\u4f1a\u5305\u542b\u4e00\u4e2a\u5143\u7d20\u7684\u5b50\u5143\u7d20\u8282\u70b9\u548c\u5b50\u6ce8\u91ca\u8282\u70b9.\u5728IE9\u4e4b\u540e\u6216\u8005\u5176\u4ed6\u6d4f\u89c8\u5668\u4e2d, \u53ea\u5305\u542b\u5b50\u5143\u7d20\u8282\u70b9.", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-02-24T18:57:07", "review_tags": []}, {"title": "ParentNode.childElementCount", "url": "/en-US/docs/Web/API/ParentNode/childElementCount", "tags": ["ParentNode", "Property", "DOM", "API"], "summary": "The ParentNode.childElementCount
read-only property returns an unsigned long
representing the number of child elements of the given element.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-02-22T10:22:33", "review_tags": []}, {"title": "Node.childElementCount", "url": "/ru/docs/Web/API/ParentNode/childElementCount", "tags": [], "summary": "", "localization_tags": ["inprogress"], "locale": "ru", "last_edit": "2015-07-15T01:47:36", "review_tags": []}, {"title": "ParentNode.childElementCount", "url": "/fr/docs/Web/API/ParentNode/childElementCount", "tags": [], "summary": "La propri\u00e9t\u00e9 ParentNode.childElementCount
en lecture seule renvoie un unsigned long
repr\u00e9sentant le nombre d'\u00e9l\u00e8ments fils de l'\u00e9l\u00e8ment donn\u00e9.", "localization_tags": ["inprogress"], "locale": "fr", "last_edit": "2015-07-25T14:12:37", "review_tags": []}], "modified": "2015-11-22T08:36:08", "label": "ParentNode.childElementCount", "localization_tags": ["inprogress"], "url": "/es/docs/Web/API/ParentNode/childElementCount", "last_edit": "2015-11-22T08:36:05", "summary": "La propiedad de s\u00f3lo lectura\u00a0ParentNode.childElementCount
devuelve un n\u00famero del tipo\u00a0unsigned long
\u00a0que representa la cantidad\u00a0de elementos hijo que penden\u00a0del elemento padre (ParentNode).", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Sintaxis"}, {"id": "Especificaciones", "title": "Especificaciones"}, {"id": "Compatibilidad_en_navegadores", "title": "Compatibilidad en\u00a0navegadores"}, {"id": "V\u00e9ase_tambi\u00e9n", "title": "V\u00e9ase tambi\u00e9n"}], "id": 167115, "review_tags": []}