{"json_modified": "2016-10-19T12:30:24.962724", "uuid": "05978ba7-ce41-48ad-8773-90295b379945", "title": "Element.closest()", "url": "/en-US/docs/Web/API/Element/closest", "tags": ["API", "Element", "Reference", "Experimental", "DOM", "Method"], "translations": [{"uuid": "bf411b8a-f178-466a-9c73-469acbf9b4de", "title": "Element.closest()", "url": "/fr/docs/Web/API/Element/closest", "tags": [], "summary": "La fonction\u00a0Element.closest()
retourne le plus proche parent\u00a0de l'\u00e9l\u00e9ment courant\u00a0(ou de l'\u00e9l\u00e9ment lui-m\u00eame) qui correspond au s\u00e9lecteur donn\u00e9 en param\u00e8tre. Si aucun \u00e9l\u00e9ment ne correspond, la fonction retournera\u00a0null
.", "localization_tags": ["inprogress"], "locale": "fr", "last_edit": "2015-10-20T06:11:39", "review_tags": ["editorial"]}, {"uuid": "e9318e70-b45d-49e9-9db5-fdfe8c091a6b", "title": "Element.closest()", "url": "/ru/docs/Web/API/Element/closest", "tags": ["closest"], "summary": "\u041c\u0435\u0442\u043e\u0434 Element.closest()
\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0438\u0439 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u00a0(\u0438\u043b\u0438 \u0441\u0430\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442), \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u043c\u0443 CSS-\u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0443 \u0438\u043b\u0438 null, \u0435\u0441\u043b\u0438 \u0442\u0430\u043a\u043e\u0432\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435\u0442.", "localization_tags": [], "locale": "ru", "last_edit": "2016-10-19T12:30:17", "review_tags": []}, {"uuid": "23c097f6-eae9-44d7-9ddf-dce5be490c70", "title": "Element.closest()", "url": "/zh-CN/docs/Web/API/Element/closest", "tags": [], "summary": "Element.closest()
\u65b9\u6cd5\u7528\u6765\u83b7\u53d6\uff1a\u5339\u914d\u7279\u5b9a\u9009\u62e9\u5668\u4e14\u79bb\u5f53\u524d\u5143\u7d20\u6700\u8fd1\u7684\u7956\u5148\u5143\u7d20\uff08\u4e5f\u53ef\u4ee5\u662f\u5f53\u524d\u5143\u7d20\u672c\u8eab\uff09\u3002\u5982\u679c\u5339\u914d\u4e0d\u5230\uff0c\u5219\u8fd4\u56de null
\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-02-24T15:32:21", "review_tags": []}], "modified": "2016-10-18T05:57:49", "label": "Element.closest()", "localization_tags": [], "locale": "en-US", "id": 127359, "last_edit": "2016-10-18T05:57:43", "summary": "The Element.closest()
method returns the closest ancestor of the current element (or the current element itself) which matches the selectors given in parameter. If there isn't such an ancestor, it returns null
.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Result_value", "title": "Result value"}, {"id": "Exceptions", "title": "Exceptions"}, {"id": "Example", "title": "Example"}, {"id": "Specification", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/Element/closest", "review_tags": []}