diff --git a/files/en-us/web/api/formdataevent/index.md b/files/en-us/web/api/formdataevent/index.md index 2237951458eff06..e6b273aed3bc1bb 100644 --- a/files/en-us/web/api/formdataevent/index.md +++ b/files/en-us/web/api/formdataevent/index.md @@ -9,7 +9,7 @@ browser-compat: api.FormDataEvent The **`FormDataEvent`** interface represents a [`formdata` event](/en-US/docs/Web/API/HTMLFormElement/formdata_event) — such an event is fired on an {{domxref("HTMLFormElement")}} object after the entry list representing the form's data is constructed. This happens when the form is submitted, but can also be triggered by the invocation of a {{domxref("FormData.FormData", "FormData()")}} constructor. -This allows a {{domxref("FormData")}} object to be quickly obtained in response to a `formdata` event firing, rather than needing to put it together yourself when you wish to submit form data via a method like {{domxref("XMLHttpRequest")}} (see [Using FormData objects](/en-US/docs/Web/API/XMLHttpRequest_API/Using_FormData_Objects)). +This allows a {{domxref("FormData")}} object to be quickly obtained in response to a `formdata` event firing, rather than needing to put it together yourself when you wish to submit form data via a method like {{domxref("fetch()")}} (see [Using FormData objects](/en-US/docs/Web/API/XMLHttpRequest_API/Using_FormData_Objects)). {{InheritanceDiagram}} @@ -74,7 +74,7 @@ formElem.addEventListener("formdata", (e) => { ## See also -- {{domxref("XMLHTTPRequest")}} +- {{domxref("fetch()")}} - {{domxref("FormData")}} - [Using FormData objects](/en-US/docs/Web/API/XMLHttpRequest_API/Using_FormData_Objects) - {{HTMLElement("Form")}}