Entonces, si tenemos un objeto FormData, vamos a llamar al método append.
So, if we have a FormData object, we're going to call the append method.
Opcionalmente, puede pasar parámetros al form mediante el objeto formData.
Optionally, you can pass parameter(s) to the form using the formData object.
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.
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.
Al combinar el objeto formData y el comando Form, puede enviar parámetros al formulario o leer los parámetros en cualquier momento con código limpio y seguro.
By combining the formData object and the Form command, you can send parameters to the form or read parameters from the form at any moment with clean and safe code.
Toda propiedad del objeto formData estará disponible desde el contexto del formulario mediante el comando Form.
Any properties of the formData object will then be available from within the form context through the Form command.
Usted mismo puede construir un objeto FormData instanciándolo y después añadiendo campos a la instancia usando su método append(), tal y como se muestra
You can build a FormData object yourself, instantiating it then appending fields to it by calling its append() method, like this
Si el formulario actual se muestra mediante una llamada al comando DIALOG, Form devuelve el objeto formData pasado como parámetro a este comando.
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.
Recuerde, si el navegador es compatible con FormData, formdata será un objeto FormData; de lo contrario, será false.
Remember, if the browser supports FormData, formdata will be a FormData object; otherwise, it will be false.
Lo inicializamos en false y luego verificamos si el navegador admite FormData; Si lo hace, creamos un nuevo objeto FormData.
We initialize it to false and then check to see if the browser supports FormData; If it does, we create a new FormData object.
Los datos transmitidos estarán en el mismo formato que usa el método submit() del formulario para enviar los datos si el tipo de codificación del formulario se establece en "multipart/form-data". Creación de un objeto FormData desde cero
It uses the same format a form would use if the encoding type were set to "multipart/form-data". For details on how to use the FormData object, see Using FormData objects. Constructor
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.
Nici un rezultat pentru acest sens.
Sinonime și analogii pentru "objeto formdata" în limba Română