Javascript (Usage) | |
---|---|
$(function () { var options; // Type: wijmo.upload.wijupload.options $(".selector").wijupload(options); }); |
Javascript (Specification) | |
---|---|
|
Name | Description | |
---|---|---|
![]() | accept | Default value: "" Specifies the accept attribute of upload. This is an attribute of the file input. |
![]() | action | Default value: "" Specifies the URL path of the server-side handler that handles the post request, validates file size and type, renames files, and saves the file to the server disk. |
![]() | autoSubmit | Default value: false The value indicates whether to upload the file as soon as it is selected in the "Choose File to Upload" dialog box. |
![]() | enableSWFUpload | Default value: false upload with SWFupload.swf in all browsers. |
![]() | enableSWFUploadOnIE | Default value: false upload with SWFupload.swf, this option is used for multiple-select in IE. |
![]() | maximumFiles | Default value: 0 Specifies the maximum number of files that can be uploaded. |
![]() | multiple | Default value: true Determines whether multiple selection is supported. |
Name | Description | |
---|---|---|
![]() | destroy | Removes the wijupload functionality completely.This will return the element back to its pre - init state. |
![]() | widget | Returns the.wijmo - wijupload element. |
Name | Description | |
---|---|---|
![]() | change | Fires when user selects a file. This event can be cancelled. "return false;" to cancel the event. |
![]() | complete | Fires when file upload is complete. |
![]() | progress | Fires when a file is uploading. |
![]() | totalComplete | Fires when the uploadAll button is clicked and file upload is complete. |
![]() | totalProgress | Fires when the uploadAll button is clicked and file upload is complete. |
![]() | totalUpload | Fires when the uploadAll button is clicked. This event can be cancelled. "return false;" to cancel the event. |
![]() | upload | Fires before the file is uploaded. This event can be cancelled. "return false;" to cancel the event. |