clearInput (index)
index. Input index.
The clearInput method clears a loading by its index.
To execute the example, create FileUpload component named fileUpload (see FileUpload constructor). Load two files to the component. To clear the first load, use the following script:
fileUpload.clearInput(0);
After executing the example the first load is cleared.
See also: