File Upload Methods



APIs for the File Upload widget are attached to a property of the main widget DOM element that is named 'fileUpload'. The getObj() function can be used to get a reference to the main DOM element for the file upload widget.

The typical way to access these methods is to use the following syntax:

getObj("FileUpload1").fileUpload.method()

Where FileUpload1 is the id of the File Upload widget and method is the name of one of the methods listed below.