From 3c4f8cef205274331dfdd01ab0d4febf318e835c Mon Sep 17 00:00:00 2001 From: wbamberg Date: Tue, 7 Nov 2023 10:48:09 -0800 Subject: [PATCH] Fix more links --- files/en-us/learn/forms/index.md | 2 +- .../learn/forms/sending_forms_through_javascript/index.md | 2 +- files/en-us/mozilla/firefox/releases/72/index.md | 2 +- files/en-us/web/api/formdata/append/index.md | 2 +- files/en-us/web/api/formdata/delete/index.md | 2 +- files/en-us/web/api/formdata/entries/index.md | 2 +- files/en-us/web/api/formdata/formdata/index.md | 2 +- files/en-us/web/api/formdata/get/index.md | 2 +- files/en-us/web/api/formdata/getall/index.md | 2 +- files/en-us/web/api/formdata/has/index.md | 2 +- files/en-us/web/api/formdata/index.md | 2 +- files/en-us/web/api/formdata/keys/index.md | 2 +- files/en-us/web/api/formdata/set/index.md | 2 +- files/en-us/web/api/formdata/values/index.md | 2 +- files/en-us/web/api/formdataevent/index.md | 4 ++-- files/en-us/web/api/xmlhttprequest_api/index.md | 2 +- files/en-us/web/guide/index.md | 2 +- 17 files changed, 18 insertions(+), 18 deletions(-) diff --git a/files/en-us/learn/forms/index.md b/files/en-us/learn/forms/index.md index 94b185ae833dd82..c2a86abe66684ec 100644 --- a/files/en-us/learn/forms/index.md +++ b/files/en-us/learn/forms/index.md @@ -66,7 +66,7 @@ The following articles aren't essential to the learning pathway, but they'll pro - [How to build custom form controls](/en-US/docs/Learn/Forms/How_to_build_custom_form_controls) - : You'll come across some cases where the native form widgets just don't provide what you need, e.g. because of styling or functionality. In such cases, you may need to build your own form widget out of raw HTML. This article explains how you'd do this and the considerations you need to be aware of when doing so, with a practical case study. - [Sending forms through JavaScript](/en-US/docs/Learn/Forms/Sending_forms_through_JavaScript) - - : This article looks at ways to use a form to assemble an HTTP request and send it via custom JavaScript, rather than standard form submission. It also looks at why you'd want to do this, and the implications of doing so. (See also [Using FormData objects](/en-US/docs/Web/API/FormData/Using_FormData_Objects).) + - : This article looks at ways to use a form to assemble an HTTP request and send it via custom JavaScript, rather than standard form submission. It also looks at why you'd want to do this, and the implications of doing so. (See also [Using FormData objects](/en-US/docs/Web/API/XMLHttpRequest_API/Using_FormData_Objects).) - [CSS property compatibility table for form controls](/en-US/docs/Learn/Forms/Property_compatibility_table_for_form_controls) - : This last article provides a handy reference allowing you to look up what CSS properties are compatible with what form elements. diff --git a/files/en-us/learn/forms/sending_forms_through_javascript/index.md b/files/en-us/learn/forms/sending_forms_through_javascript/index.md index 2fcfceffaae56c7..fb24398167587e3 100644 --- a/files/en-us/learn/forms/sending_forms_through_javascript/index.md +++ b/files/en-us/learn/forms/sending_forms_through_javascript/index.md @@ -112,7 +112,7 @@ Building an HTTP request by hand can be overwhelming. Fortunately, the [XMLHttpR The {{domxref("FormData","FormData")}} object can be used to build form data for transmission, or to get the data within a form element to manage how it's sent. -Using this object is detailed in [Using FormData Objects](/en-US/docs/Web/API/FormData/Using_FormData_Objects), but here are two examples: +Using this object is detailed in [Using FormData Objects](/en-US/docs/Web/API/XMLHttpRequest_API/Using_FormData_Objects), but here are two examples: #### Using a standalone FormData object diff --git a/files/en-us/mozilla/firefox/releases/72/index.md b/files/en-us/mozilla/firefox/releases/72/index.md index bbefdb1832b4820..99bc555e51edb95 100644 --- a/files/en-us/mozilla/firefox/releases/72/index.md +++ b/files/en-us/mozilla/firefox/releases/72/index.md @@ -64,7 +64,7 @@ _No changes._ #### New APIs -- {{domxref("FormDataEvent")}} and [event-based form participation](/en-US/docs/Web/API/FormData/Using_FormData_Objects#using_a_formdata_event) is now enabled by default ([Firefox bug 1594708](https://bugzil.la/1594708)). +- {{domxref("FormDataEvent")}} and [event-based form participation](/en-US/docs/Web/API/XMLHttpRequest_API/Using_FormData_Objects#using_a_formdata_event) is now enabled by default ([Firefox bug 1594708](https://bugzil.la/1594708)). - The {{domxref("crossOriginIsolated")}} property is now supported ([Firefox bug 1591892](https://bugzil.la/1591892)). #### DOM diff --git a/files/en-us/web/api/formdata/append/index.md b/files/en-us/web/api/formdata/append/index.md index e003c2cf3ff8808..b74f9cb1090069f 100644 --- a/files/en-us/web/api/formdata/append/index.md +++ b/files/en-us/web/api/formdata/append/index.md @@ -73,5 +73,5 @@ formData.getAll("name"); // ["true", "72"] ## See also -- [Using FormData objects](/en-US/docs/Web/API/FormData/Using_FormData_Objects) +- [Using FormData objects](/en-US/docs/Web/API/XMLHttpRequest_API/Using_FormData_Objects) - {{HTMLElement("Form")}} diff --git a/files/en-us/web/api/formdata/delete/index.md b/files/en-us/web/api/formdata/delete/index.md index cc53865dc2077df..c3437a7c57df38c 100644 --- a/files/en-us/web/api/formdata/delete/index.md +++ b/files/en-us/web/api/formdata/delete/index.md @@ -45,5 +45,5 @@ formData.delete("username"); ## See also -- [Using FormData objects](/en-US/docs/Web/API/FormData/Using_FormData_Objects) +- [Using FormData objects](/en-US/docs/Web/API/XMLHttpRequest_API/Using_FormData_Objects) - {{HTMLElement("Form")}} diff --git a/files/en-us/web/api/formdata/entries/index.md b/files/en-us/web/api/formdata/entries/index.md index 8c2aa446abbdc8b..38372794c89c2fa 100644 --- a/files/en-us/web/api/formdata/entries/index.md +++ b/files/en-us/web/api/formdata/entries/index.md @@ -55,5 +55,5 @@ key2, value2 ## See also -- [Using FormData objects](/en-US/docs/Web/API/FormData/Using_FormData_Objects) +- [Using FormData objects](/en-US/docs/Web/API/XMLHttpRequest_API/Using_FormData_Objects) - {{HTMLElement("Form")}} diff --git a/files/en-us/web/api/formdata/formdata/index.md b/files/en-us/web/api/formdata/formdata/index.md index 1c118ba445f46f5..07a618057587fd0 100644 --- a/files/en-us/web/api/formdata/formdata/index.md +++ b/files/en-us/web/api/formdata/formdata/index.md @@ -114,5 +114,5 @@ For brevity, the `
` element is hidden from view. ## See also -- [Using FormData objects](/en-US/docs/Web/API/FormData/Using_FormData_Objects) +- [Using FormData objects](/en-US/docs/Web/API/XMLHttpRequest_API/Using_FormData_Objects) - {{HTMLElement("Form")}} diff --git a/files/en-us/web/api/formdata/get/index.md b/files/en-us/web/api/formdata/get/index.md index 8a4a7e32dae5118..18dd81c829907fc 100644 --- a/files/en-us/web/api/formdata/get/index.md +++ b/files/en-us/web/api/formdata/get/index.md @@ -55,5 +55,5 @@ formData.get("username"); // Returns "Chris" ## See also -- [Using FormData objects](/en-US/docs/Web/API/FormData/Using_FormData_Objects) +- [Using FormData objects](/en-US/docs/Web/API/XMLHttpRequest_API/Using_FormData_Objects) - {{HTMLElement("Form")}} diff --git a/files/en-us/web/api/formdata/getall/index.md b/files/en-us/web/api/formdata/getall/index.md index 04ef6f85e85bae0..f5a38755a3a8210 100644 --- a/files/en-us/web/api/formdata/getall/index.md +++ b/files/en-us/web/api/formdata/getall/index.md @@ -52,5 +52,5 @@ formData.getAll("username"); // Returns ["Chris", "Bob"] ## See also -- [Using FormData objects](/en-US/docs/Web/API/FormData/Using_FormData_Objects) +- [Using FormData objects](/en-US/docs/Web/API/XMLHttpRequest_API/Using_FormData_Objects) - {{HTMLElement("Form")}} diff --git a/files/en-us/web/api/formdata/has/index.md b/files/en-us/web/api/formdata/has/index.md index 7bd3107b12415c7..bc5c3afa72619a3 100644 --- a/files/en-us/web/api/formdata/has/index.md +++ b/files/en-us/web/api/formdata/has/index.md @@ -47,5 +47,5 @@ formData.has("username"); // Returns true ## See also -- [Using FormData objects](/en-US/docs/Web/API/FormData/Using_FormData_Objects) +- [Using FormData objects](/en-US/docs/Web/API/XMLHttpRequest_API/Using_FormData_Objects) - {{HTMLElement("Form")}} diff --git a/files/en-us/web/api/formdata/index.md b/files/en-us/web/api/formdata/index.md index fc90a2ae849a93b..626a366ba06bc80 100644 --- a/files/en-us/web/api/formdata/index.md +++ b/files/en-us/web/api/formdata/index.md @@ -51,5 +51,5 @@ An object implementing `FormData` can directly be used in a {{jsxref("Statements ## See also -- [Using FormData objects](/en-US/docs/Web/API/FormData/Using_FormData_Objects) +- [Using FormData objects](/en-US/docs/Web/API/XMLHttpRequest_API/Using_FormData_Objects) - {{HTMLElement("Form")}} diff --git a/files/en-us/web/api/formdata/keys/index.md b/files/en-us/web/api/formdata/keys/index.md index adc4126a59ad1c1..64dfa35616f77a0 100644 --- a/files/en-us/web/api/formdata/keys/index.md +++ b/files/en-us/web/api/formdata/keys/index.md @@ -56,5 +56,5 @@ key2 ## See also -- [Using FormData objects](/en-US/docs/Web/API/FormData/Using_FormData_Objects) +- [Using FormData objects](/en-US/docs/Web/API/XMLHttpRequest_API/Using_FormData_Objects) - {{HTMLElement("Form")}} diff --git a/files/en-us/web/api/formdata/set/index.md b/files/en-us/web/api/formdata/set/index.md index 00ab9ab00da9266..1ae887c760a6bf6 100644 --- a/files/en-us/web/api/formdata/set/index.md +++ b/files/en-us/web/api/formdata/set/index.md @@ -65,5 +65,5 @@ formData.get("name"); // "72" ## See also -- [Using FormData objects](/en-US/docs/Web/API/FormData/Using_FormData_Objects) +- [Using FormData objects](/en-US/docs/Web/API/XMLHttpRequest_API/Using_FormData_Objects) - {{HTMLElement("Form")}} diff --git a/files/en-us/web/api/formdata/values/index.md b/files/en-us/web/api/formdata/values/index.md index 995c616c1b40eed..b7fcba76ea2f8bd 100644 --- a/files/en-us/web/api/formdata/values/index.md +++ b/files/en-us/web/api/formdata/values/index.md @@ -56,5 +56,5 @@ value2 ## See also -- [Using FormData objects](/en-US/docs/Web/API/FormData/Using_FormData_Objects) +- [Using FormData objects](/en-US/docs/Web/API/XMLHttpRequest_API/Using_FormData_Objects) - {{HTMLElement("Form")}} diff --git a/files/en-us/web/api/formdataevent/index.md b/files/en-us/web/api/formdataevent/index.md index 1aaf69c9a006e23..2237951458eff06 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/FormData/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("XMLHttpRequest")}} (see [Using FormData objects](/en-US/docs/Web/API/XMLHttpRequest_API/Using_FormData_Objects)). {{InheritanceDiagram}} @@ -76,5 +76,5 @@ formElem.addEventListener("formdata", (e) => { - {{domxref("XMLHTTPRequest")}} - {{domxref("FormData")}} -- [Using FormData objects](/en-US/docs/Web/API/FormData/Using_FormData_Objects) +- [Using FormData objects](/en-US/docs/Web/API/XMLHttpRequest_API/Using_FormData_Objects) - {{HTMLElement("Form")}} diff --git a/files/en-us/web/api/xmlhttprequest_api/index.md b/files/en-us/web/api/xmlhttprequest_api/index.md index f17b9a46d0545d2..1999b51561cd6f5 100644 --- a/files/en-us/web/api/xmlhttprequest_api/index.md +++ b/files/en-us/web/api/xmlhttprequest_api/index.md @@ -20,7 +20,7 @@ The central interface in the XMLHttpRequest API is {{domxref("XMLHttpRequest")}} 1. Create a new `XMLHttpRequest` instance by calling its {{domxref("XMLHttpRequest.XMLHttpRequest", "constructor", "", "nocode")}}. 2. Initialize it by calling {{domxref("XMLHttpRequest.open()")}}. At this point you provide the URL for the request, the [HTTP method](/en-US/docs/Web/HTTP/Methods) to use, and optionally, a username and password. -3. Attach event handlers to get the result of the request. For example, the {{domxref("XMLHttpRequest.load_event", "load")}} event fires when the request has successfully completed, and the {{domxref("XMLHttpRequest.error_event", "error")}} event fires in various error conditions. +3. Attach event handlers to get the result of the request. For example, the {{domxref("XMLHttpRequest.load_event", "load")}} event is fired when the request has successfully completed, and the {{domxref("XMLHttpRequest.error_event", "error")}} event is fired in various error conditions. 4. Send the request by calling {{domxref("XMLHttpRequest.send()")}}. For an in-depth guide to XMLHttpRequest, see [Using XMLHttpRequest](/en-US/docs/Web/API/XMLHttpRequest_API/Using_XMLHttpRequest). diff --git a/files/en-us/web/guide/index.md b/files/en-us/web/guide/index.md index 153c8e4e7c57412..b95d45b3877f58d 100644 --- a/files/en-us/web/guide/index.md +++ b/files/en-us/web/guide/index.md @@ -44,7 +44,7 @@ There are a number of guides within MDN docs. These articles aim to add addition ## APIs -- [Using FormData objects](/en-US/docs/Web/API/FormData/Using_FormData_Objects) +- [Using FormData objects](/en-US/docs/Web/API/XMLHttpRequest_API/Using_FormData_Objects) - : The [`FormData`](/en-US/docs/Web/API/FormData) object lets you compile a set of key/value pairs to send using `XMLHttpRequest`. It's primarily intended for sending form data, but can be used independently of forms to transmit keyed data. The transmission is in the same format that the form's `submit()` method would use to send the data if the form's encoding type were set to "multipart/form-data". - [Progressive web apps](/en-US/docs/Web/Progressive_web_apps#core_pwa_guides) - : Progressive web apps (PWAs) use modern web APIs along with traditional progressive enhancement strategy to create cross-platform web applications. These apps work everywhere and provide several features that give them the same user experience advantages as native apps. This set of guides tells you all you need to know about PWAs.