$(function () {
// Get value
var returnsValue; // Type: string
returnsValue = $(".selector").wijupload("option", "accept");
// Set value
var newValue; // Type: string
$(".selector").wijupload("option", "accept", newValue);
});
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.