Adds a POST field with specified name and value to the request submitted to the server.
Syntax
JavaScript | ![]() |
---|---|
getImageUploader("ImageUploaderID").AddField(Name, Value); |
Parameters
- Name
-
Name of the POST field (an analogue to the name attribute of an <input> HTML element).
Note
If you try to add several fields with the same name, the latest one will overwrite the previous value.
- Value
- Value of the POST field (an analogue to the value attribute of an <input> HTML element).
Remarks
Alternatively you can attach an additional form to the request. Use the AdditionalFormName property to do that.