Wijmo UI for the Web
wijupload jQuery Widget
Support batch or single uploads and add an API for displaying upload progress.
Syntax
$(function () {
    var options; // Type:  wijmo.upload.wijupload.options
     
    $(".selector").wijupload(options);
});
function wijupload() : any;
Options
 NameDescription
public Option

Default value: ""

Specifies the accept attribute of upload. This is an attribute of the file input.

 
public Option

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.

 
public Option

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.

 
public Option

Default value: false

upload with SWFupload.swf in all browsers.

 
public Option

Default value: false

upload with SWFupload.swf, this option is used for multiple-select in IE.

 
public Option

Default value: 0

Specifies the maximum number of files that can be uploaded.

 
public Option

Default value: true

Determines whether multiple selection is supported.

 
Top
Methods
 NameDescription
public MethodRemoves the wijupload functionality completely.This will return the element back to its pre - init state.  
public MethodReturns the.wijmo - wijupload element.  
Top
Events
 NameDescription
public EventFires when user selects a file. This event can be cancelled. "return false;" to cancel the event.  
public EventFires when file upload is complete.  
public EventFires when a file is uploading.  
public EventFires when the uploadAll button is clicked and file upload is complete.  
public EventFires when the uploadAll button is clicked and file upload is complete.  
public EventFires when the uploadAll button is clicked. This event can be cancelled. "return false;" to cancel the event.  
public EventFires before the file is uploaded. This event can be cancelled. "return false;" to cancel the event.  
Top
See Also

Widgets

Upload

Reference

wijupload jQuery Widget