Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.

restrictions.deniedFileMask Property ActiveX/Java Uploader JavaScript

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or set a file mask for the files that are denied to be uploaded.

Syntax

JavaScript Initialize
$au.uploader({
    restrictions: {
        //...other params...
        deniedFileMask: "",
        //...other params...
    }
})
Get/Set Value at Runtime
$au.uploader('uploaderID').restrictions().deniedFileMask(value);
value = $au.uploader('uploaderID').restrictions().deniedFileMask();

Property Value

Type: String

The file mask for the files that are denied to be uploaded. You can use the standard wildcards such as asterisk * (arbitrary substring) and question mark ? (arbitrary character). To specify several masks, separate them by semicolons, e.g. *.exe;*.asp;*.htm.

Default value is "".

See Also

Reference

Manual