The purpose of a FormData object is to hold values that you're submitting via a form; so, the append method simply takes a key and a value.
El objetivo de un objeto FormData es mantener los valores que envía a través de un formulario; Entonces, el método deappendsimplemente toma una clave y un valor.
If the current form is being displayed by a call to the DIALOG command, Form returns the formData object passed as parameter to this command.
Si el formulario actual se muestra mediante una llamada al comando DIALOG, Form devuelve el objeto formData pasado como parámetro a este comando.
FormData objects provide a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest send() method.
Envío de formularios y carga de archivos vía AJAX sin objetos FormData Vea también Los objetos FormData le permiten compilar un conjunto de pares clave/valor para enviar mediante XMLHttpRequest.
FormData objects provide a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest send() method.
Los objetos FormData proporcionan una forma para construir fácilmente un conjunto de pares llave/valor que representan campos de forma y sus valores, los cuales pueden enviarse fácilmente utilizando el método send() del Objeto XMLHttpRequest.
One of the enhancements to XMLHttpRequest is the introduction of the FormData object.
Una de las mejoras de XMLHttpRequest es la incorporación del objeto FormData.
FormData objects can be initialized from and existing HTMLFormElement on the page.
Los objetos FormData se pueden inicializar a partir de un elemento HTMLFormElement de la página.
So, if we have a FormData object, we're going to call the append method.
Entonces, si tenemos un objeto FormData, vamos a llamar al método append.
Submitting forms and uploading files via AJAX without FormData objects
Envío de formularios y carga de archivos vía AJAX sin objetos FormData
Optionally, you can pass parameter(s) to the form using the formData object.
Opcionalmente, puede pasar parámetros al form mediante el objeto formData.
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.
Înregistrează-te pentru a accesa mai multe exemple