{"json_modified": "2014-03-25T14:36:41.459550", "slug": "Web/HTML/Focus_management_in_HTML", "tags": ["\u8981\u66f4\u65b0"], "locale": "ja", "title": "Focus management in HTML", "translations": [{"locale": "en-US", "url": "/en-US/docs/HTML/Focus_management_in_HTML", "last_edit": "2014-02-28T07:28:45", "title": "Focus management in HTML"}, {"locale": "es", "url": "/es/docs/Gesti%C3%B3n_del_foco_en_HTML", "last_edit": "2008-08-05T11:10:23", "title": "Gesti\u00f3n del foco en HTML"}, {"locale": "fr", "url": "/fr/docs/Web/HTML/Gestion_du_focus_en_HTML", "last_edit": "2013-06-07T08:38:19", "title": "Gestion du focus en HTML"}, {"locale": "pl", "url": "/pl/docs/Zarz%C4%85dzanie_fokusem_w_HTML", "last_edit": "2008-01-15T21:04:37", "title": "Zarz\u0105dzanie fokusem w HTML"}, {"locale": "zh-CN", "url": "/zh-CN/docs/HTML/Focus_management_in_HTML", "last_edit": "2013-04-22T02:50:03", "title": "HTML \u7126\u70b9\u7ba1\u7406"}], "modified": "2014-03-25T14:36:41", "label": "Focus management in HTML", "url": "/ja/docs/Web/HTML/Focus_management_in_HTML", "last_edit": "2013-05-09T14:05:43", "summary": "In the HTML5 working draft, the activeElement
DOM attribute and the hasFocus()
DOM method give the programmer the ability to have better control of the interactivity of the page due to the user's actions. For example, both of them can be used for statistical usage purposes, tracking the number of clicks on certain links of a page, measuring the amount of time an element is focused, and so forth. In addition, when combined with AJAX technology, they help minimize the number of requests to the server, depending on the user activity and the page layout.", "sections": [{"id": "Browser_compatibility", "title": "\u30d6\u30e9\u30a6\u30b6\u5b9f\u88c5\u72b6\u6cc1"}, {"id": "Browser-specific_notes", "title": "Browser-specific notes"}, {"id": "Gecko_notes", "title": "Gecko notes"}, {"id": "See_also", "title": "\u95a2\u9023\u60c5\u5831"}], "id": 32895, "review_tags": []}