{"json_modified": "2016-09-27T15:24:29.021711", "uuid": "b125f31a-c5c3-4673-a0de-2bdb49d655c6", "title": "input", "url": "/en-US/docs/Web/Events/input", "tags": ["NeedsMobileBrowserCompatibility"], "translations": [{"uuid": "5a04aaaa-1199-4b5d-8f07-85715c93139c", "title": "input", "url": "/fr/docs/Web/Events/input", "tags": [], "summary": "The DOM input
event is fired synchronously when the value of an <input>
or <textarea>
element is changed. Additionally, it fires on contenteditable
editors when its contents are changed. In this case, the event target is the editing host element. If there are two or more elements which have contenteditable
as true, \"editing host\" is the nearest ancestor element whose parent isn't editable. Similarly, it's also fired on root element of designMode
editors.", "localization_tags": ["inprogress"], "locale": "fr", "last_edit": "2016-09-27T15:24:21", "review_tags": []}, {"uuid": "b058eea8-5cd2-4729-bf8a-675f66c18051", "title": "input", "url": "/zh-CN/docs/Web/Events/input", "tags": [], "summary": "\u5f53<input>
or <textarea>
\u7684\u503c\u53d8\u66f4\u65f6\u5c06\u89e6\u53d1DOM\u7684input\u4e8b\u4ef6\u3002\u00a0\u6b64\u5916\u5bf9\u4e8e\u542b\u6709contenteditable\u5c5e\u6027\u7684\u7f16\u8f91\u5668\uff0c
\u5185\u5bb9\u53d8\u66f4\u65f6\u4e5f\u4f1a\u89e6\u53d1\u3002\u540e\u4e00\u79cd\u60c5\u51b5\u4e0b\uff0cevent\u7684target\u662f\u5bb9\u7eb3\u6b64\u7f16\u8f91\u5668\u7684\u5143\u7d20\u3002 \u5982\u679c\u591a\u4e2a\u5143\u7d20\u90fd\u6709contenteditable\u5c5e\u6027\uff0c\u90a3\u4e48target\u5c31\u662f\u6700\u8fd1\u7684\u4e0d\u53ef\u7f16\u8f91\u7684\u7236\u5143\u7d20\u3002\u540c\u6837\uff0c\u5728designMode\u7684\u7f16\u8f91\u5668\u7684\u6839\u5143\u7d20\u4e0a\u89e6\u53d1\u65f6\u4e5f\u662f\u7c7b\u4f3c\u3002
", "localization_tags": [], "locale": "zh-CN", "last_edit": "2016-02-16T23:14:00", "review_tags": []}], "modified": "2016-05-05T11:06:44", "label": "input", "localization_tags": [], "locale": "en-US", "id": 53827, "last_edit": "2016-05-05T11:06:40", "summary": "The DOM input
event is fired synchronously when the value of an <input>
or <textarea>
element is changed. (For input
elements with type=checkbox
or type=radio
, the input
event does not fire when a user clicks the control, because the value
attribute does not change.) Additionally, it fires on contenteditable
editors when its contents are changed. In this case, the event target is the editing host element. If there are two or more elements which have contenteditable
as true, \"editing host\" is the nearest ancestor element whose parent isn't editable. Similarly, it's also fired on root element of designMode
editors.", "sections": [{"id": "General_info", "title": "General info"}, {"id": "Properties", "title": "Properties"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/Events/input", "review_tags": []}