{"json_modified": "2016-02-01T19:33:55.116442", "slug": "Web/HTML/Focus_management_in_HTML", "tags": ["\u7126\u70b9", "DOM", "HTML", "HTML5"], "locale": "zh-CN", "title": "HTML \u7126\u70b9\u7ba1\u7406", "translations": [{"title": "Focus management in HTML", "url": "/en-US/docs/Web/HTML/Focus_management_in_HTML", "tags": ["Focus", "NeedsBrowserCompatibility", "NeedsExample", "NeedsContent", "HTML", "HTML5", "DOM", "Intermediate"], "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.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-12-27T03:05:21", "review_tags": []}, {"title": "Gesti\u00f3n del foco en HTML", "url": "/es/docs/Web/HTML/Gesti%25C3%25B3n_del_foco_en_HTML", "tags": ["DOM", "HTML", "Firefox 3", "Todas_las_Categor\u00edas"], "summary": "", "localization_tags": [], "locale": "es", "last_edit": "2014-07-03T01:58:37", "review_tags": []}, {"title": "Focus management in HTML", "url": "/ja/docs/Web/HTML/Focus_management_in_HTML", "tags": ["\u8981\u66f4\u65b0"], "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.", "localization_tags": [], "locale": "ja", "last_edit": "2013-05-09T14:05:43", "review_tags": []}, {"title": "Gestion du focus en HTML", "url": "/fr/docs/Web/HTML/Gestion_du_focus_en_HTML", "tags": ["Focus", "NeedsBrowserCompatibility", "NeedsExample", "NeedsContent", "HTML", "HTML5", "DOM", "Intermediate"], "summary": "L'attribut DOM activeElement
ainsi que la m\u00e9thode DOM hasFocus()
, appartenant \u00e0 la sp\u00e9cification HTML5 en \u00e9volution, permettent d'avoir un meilleur contr\u00f4le de l'interactivit\u00e9 d'une page selon les actions de l'utilisateur. Ils peuvent, tous les deux, \u00eatre utilis\u00e9s pour r\u00e9colter des statistiques (compter le nombre de liens sur lesquels l'utilisateur a cliqu\u00e9, combien de temps le focus a \u00e9t\u00e9 sur un \u00e9lement...). Combiner ces techniques avec la technologie AJAX peut aider \u00e0 minimiser le nombre de requ\u00eates serveur selon les actions de l'utilisateur et la pr\u00e9sentation de la page.", "localization_tags": [], "locale": "fr", "last_edit": "2015-06-16T11:59:41", "review_tags": []}, {"title": "Focus management in HTML", "url": "/ko/docs/Web/HTML/Focus_management_in_HTML", "tags": ["NeedsContent", "DOM", "HTML", "Firefox 3"], "summary": "", "localization_tags": [], "locale": "ko", "last_edit": "2014-07-03T02:39:31", "review_tags": []}, {"title": "Zarz\u0105dzanie fokusem w HTML", "url": "/pl/docs/Web/HTML/Zarz%C4%85dzanie_fokusem_w_HTML", "tags": ["DOM", "HTML", "Firefox 3", "Wszystkie_kategorie"], "summary": "", "localization_tags": [], "locale": "pl", "last_edit": "2014-07-03T02:52:01", "review_tags": []}, {"title": "Focus management in HTML", "url": "/bn-BD/docs/Web/HTML/Focus_management_in_HTML", "tags": [], "summary": "\u098f\u0987\u099a\u099f\u09bf\u098f\u09ae\u098f\u09b2\u09eb \u098f\u09b0 \u0993\u09df\u09be\u09b0\u09cd\u0995\u09bf\u0982 \u09a1\u09cd\u09b0\u09be\u09ab\u099f, \u098f\u0995\u099f\u09bf\u09ad\u0986\u09b2\u09bf\u09ae\u09c7\u09a8\u09cd\u09a4
\u09a1\u09cb\u09ae \u0985\u09cd\u09af\u09be\u099f\u09cd\u09b0\u09bf\u09ac\u09bf\u0989\u099f \u098f\u09ac\u0982 \u09b9\u09c7\u099c\u09ab\u09cb\u0995\u09be\u09b8()
\u09a1\u09cb\u09ae \u09ae\u09c7\u09a5\u09a1 \u09aa\u09cd\u09b0\u09cb\u0997\u09cd\u09b0\u09be\u09ae\u09be\u09b0\u0995\u09c7 \u0987\u0989\u099c\u09be\u09b0 \u098f\u09b0 \u0995\u09be\u09b0\u09a8\u09c7 \u09aa\u09c7\u099c \u098f\u09b0 \u0987\u09a8\u09cd\u099f\u09be\u09b0\u0986\u0995\u09cd\u09a4\u09bf\u09ad\u09bf\u099f\u09bf\u09a4\u09c7 \u0986\u09b0\u0993 \u09ad\u09be\u09b2\u09cb \u09a8\u09bf\u09df\u09a8\u09cd\u09a4\u09cd\u09b0\u09a3 \u0995\u09b0\u09be\u09b0 \u0995\u09cd\u09b7\u09ae\u09a4\u09be \u09a6\u09c7\u09df\u0964 \u0989\u09a6\u09be\u09b9\u09b0\u09a3\u09b8\u09cd\u09ac\u09b0\u09c2\u09aa, \u09a6\u09c1\u0987\u099f\u09bf\u0995\u09c7 \u09aa\u09b0\u09bf\u09b8\u0982\u0996\u09cd\u09af\u09be\u09a8 \u098f\u09b0 \u09b8\u09be\u09a7\u09be\u09b0\u09a3 \u0989\u09a6\u09cd\u09a6\u09c7\u09b6\u09c7 \u09ac\u09cd\u09af\u09be\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09be \u09af\u09be\u09df, \u098f\u0995\u099f\u09bf \u09aa\u09c7\u099c \u098f\u09b0 \u0995\u09bf\u099b\u09c1 \u09b2\u09bf\u0982\u0995\u09c7\u09b0 \u0995\u09cd\u09b2\u09bf\u0995 \u09b8\u0982\u0996\u09cd\u09af\u09be \u09ac\u09c7\u09b0 \u0995\u09b0\u09be,\u098f\u0995\u099f\u09bf \u098f\u09b2\u09bf\u09ae\u09c7\u09a8\u09cd\u09a4\u09c7\u09b0 \u0989\u09aa\u09b0 \u09ab\u09cb\u0995\u09be\u09b8\u09c7\u09b0 \u09b8\u09ae\u09df \u09ac\u09c7\u09b0 \u0995\u09b0\u09be, \u098f\u09ac\u0982 \u0986\u09b0\u0993 \u0985\u09a8\u09c7\u0995\u0964\u0985\u09a4\u09bf\u09b0\u09bf\u0995\u09cd\u09a4, \u0986\u099c\u09be\u0995\u09cd\u09b8 \u099f\u09c7\u0995\u09a8\u09cb\u09b2\u099c\u09bf\u09b0 \u09b8\u09be\u09b9\u09be\u09af\u09cd\u09af\u09c7, \u09b8\u09be\u09b0\u09cd\u09ad\u09be\u09b0\u09c7\u09b0 \u09b0\u09bf\u0995\u09c1\u09b8\u09cd\u09a4\u09c7\u09b0 \u09b8\u0982\u0996\u09cd\u09af\u09be \u0995\u09ae\u09be\u09a8\u09cb \u09af\u09be\u09df \u09af\u09be \u0987\u0989\u099c\u09be\u09b0 \u098f\u09ac\u0982 \u09aa\u09c7\u099c \u098f\u09b0 \u09b2\u09c7\u0986\u0989\u099f \u098f\u09b0 \u0989\u09aa\u09b0 \u09a8\u09bf\u09b0\u09cd\u09ad\u09b0 \u0995\u09b0\u09c7\u0964", "localization_tags": [], "locale": "bn-BD", "last_edit": "2015-12-06T10:04:36", "review_tags": []}], "modified": "2016-02-01T19:33:54", "label": "HTML \u7126\u70b9\u7ba1\u7406", "localization_tags": [], "url": "/zh-CN/docs/Web/HTML/Focus_management_in_HTML", "last_edit": "2016-02-01T19:33:52", "summary": "\u5728 HTML5 \u5de5\u4f5c\u8349\u6848\u4e2d\uff0cDOM \u5c5e\u6027\u00a0activeElement
\u00a0\u4e0e\u65b9\u6cd5\u00a0hasFocus()
\u00a0\u4e3a\u7a0b\u5e8f\u5458\u63d0\u4f9b\u4e86\u66f4\u597d\u7684\u63a7\u5236\u9875\u9762\u4ea4\u4e92\u7684\u80fd\u529b\uff0c\u7279\u522b\u662f\u5bf9\u4e8e\u7528\u6237\u884c\u4e3a\u5f15\u53d1\u7684\u4ea4\u4e92\u3002\u4f8b\u5982\uff0c\u5b83\u4eec\u90fd\u53ef\u4ee5\u7528\u4e8e\u7edf\u8ba1\u4f7f\u7528\u76ee\u7684\uff0c\u8ddf\u8e2a\u9875\u9762\u7279\u5b9a\u94fe\u63a5\u7684\u70b9\u51fb\u6b21\u6570\uff0c\u8ba1\u7b97\u5143\u7d20\u83b7\u5f97\u7126\u70b9\u7684\u6b21\u6570\u7b49\u7b49\u3002\u6b64\u5916\uff0c\u5f53\u4e0e AJAX \u6280\u672f\u7ed3\u5408\u4ee5\u540e\uff0c\u5c06\u4f1a\u51cf\u5c11\u5411\u670d\u52a1\u5668\u8bf7\u6c42\u7684\u6570\u76ee\uff0c\u8fd9\u53d6\u51b3\u4e8e\u7528\u6237\u7684\u6d3b\u8dc3\u7a0b\u5ea6\u548c\u9875\u9762\u7684\u5e03\u5c40\u3002", "sections": [{"id": "\u6d4f\u89c8\u5668\u517c\u5bb9\u6027", "title": "\u6d4f\u89c8\u5668\u517c\u5bb9\u6027"}, {"id": "\u6d4f\u89c8\u5668\u76f8\u5173\u6ce8\u91ca", "title": "\u6d4f\u89c8\u5668\u76f8\u5173\u6ce8\u91ca"}, {"id": "Gecko_notes", "title": "Gecko notes"}, {"id": "\u53e6\u8bf7\u53c2\u9605", "title": "\u53e6\u8bf7\u53c2\u9605"}], "id": 65783, "review_tags": []}