{"json_modified": "2016-09-19T20:18:27.862760", "uuid": "5f34e18b-f408-456d-bc19-2b154835a89f", "title": "EventTarget.fireEvent()", "url": "/en-US/docs/Web/API/EventTarget/fireEvent", "tags": ["API", "DOM", "Non-standard", "Method"], "translations": [{"uuid": "66843b95-7044-4301-8d7e-714cfba7d6e0", "title": "EventTarget.fireEvent()", "url": "/zh-CN/docs/Web/API/EventTarget/fireEvent", "tags": [], "summary": "\u8fd9\u662f\u5fae\u8f6fIE\u6d4f\u89c8\u5668\u7528\u4ee5\u66ff\u4ee3EventTarget.dispatchEvent()
\u7684\u79c1\u6709\u65b9\u6cd5\uff0c\u4e0eEventTarget.dispatchEvent()
\u4e0d\u540c\u7684\u662f\u901a\u8fc7fireEvent()
\u89e6\u53d1\u7684\u4e8b\u4ef6\u4e0d\u4f1a\u89e6\u53d1\u4e8b\u4ef6\u7684\u9ed8\u8ba4\u884c\u4e3a\uff0c\u4f8b\u5982\uff0c\u901a\u8fc7fireEvent()\u89e6\u53d1<input type=\"checkbox\">\u7684\u70b9\u51fb\u4e8b\u4ef6\u5e76\u4e0d\u4f1a\u5207\u6362checkbox\u7684\u9009\u4e2d\u72b6\u6001", "localization_tags": ["inprogress"], "locale": "zh-CN", "last_edit": "2016-09-19T20:18:23", "review_tags": []}], "modified": "2016-02-25T12:43:48", "label": "EventTarget.fireEvent()", "localization_tags": [], "locale": "en-US", "id": 160703, "last_edit": "2016-02-25T12:43:45", "summary": "This is a proprietary Microsoft Internet Explorer alternative to the standard EventTarget.dispatchEvent()
method. Unlike EventTarget.dispatchEvent()
, an event triggered via fireEvent()
never triggers the default activation behavior of an event. For example, triggering a click
event on an <input type=\"checkbox\">
via fireEvent()
will not toggle the checkedness of the checkbox.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Summary", "title": "Summary"}, {"id": "Syntax", "title": "Syntax"}, {"id": "Specification", "title": "Specification"}, {"id": "Browser_Compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/EventTarget/fireEvent", "review_tags": ["technical"]}