Wijmo UI for the Web
accept Option
wijmo.upload.wijupload Namespace > options type : accept Option

Default value: ""

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

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  string
    returnsValue = $(".selector").wijupload("option", "accept");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").wijupload("option", "accept", newValue);
        
});
var accept : string;
Example
$(".selector").wijupload("accept", "image/*")
Remarks
It is a filter that allows the "Choose File to Upload" dialog box to show the file list with the specified type. Possible values: audio/* - All sound files are accepted. video/* - All video files are accepted. image/* - All image files are accepted. MIME_type - A valid MIME type with no parameters.
See Also

Reference

options type
wijupload jQuery Widget