wijmo.upload.wijupload Namespace > options type : accept Option |
Default value: ""
Specifies the accept attribute of upload. This is an attribute of the file input.
Javascript (Usage) | |
---|---|
$(function () { // Get value var returnsValue; // Type: string returnsValue = $(".selector").wijupload("option", "accept"); // Set value var newValue; // Type: string $(".selector").wijupload("option", "accept", newValue); }); |
Javascript (Specification) | |
---|---|
|
$(".selector").wijupload("accept", "image/*")