| Name | Type | Default | 
                
                    | autoUpload | Boolean | false | 
                
                    | 
                            
                                Sets or gets whether files will be automatically uploaded when selected.
                             Code example
                            
                                Set the autoUploadproperty. $('#jqxFileUpload').jqxFileUpload({ autoUpload: true });
 
                                Get the autoUploadproperty. var autoUpload = $('#jqxFileUpload').jqxFileUpload('autoUpload');
 | 
                
                    | accept | String | null | 
                
                    | 
                            
                                Sets or gets the file types that can be submitted to the server through jqxFileUpload.
                                                                                    This property corresponds to the Possible values:acceptattribute of the hidden file
                                                                                    input which is submitted to the URL specified by theuploadUrlproperty. any file extension, for example: '.gif', '.jpg', '.png', '.doc', etc.
 'audio/*' - all sound files are accepted.
 'video/*' - all video files are accepted.
 'image/*' - all image files are accepted.
 any valid media type. For a list, please refer to IANA Media Types.
 Code example
                            
                                Set the acceptproperty. $('#jqxFileUpload').jqxFileUpload({ accept: 'image/*' });
 
                                Get the acceptproperty. var accept = $('#jqxFileUpload').jqxFileUpload('accept');
 | 
                
                    | browseTemplate | String | '' | 
                
                    | 
                            
                                Sets or gets the template applied to the 'Browse' button.
                            Possible Values: 'default' - the default button's template. The button's style depends only on the 'theme' property value.
 'primary' - dark blue button for extra visual weight.
 'success' - green button for successful or positive action.
 'warning' - orange button which indicates caution.
 'danger' - red button which indicates a dangerous or negative action.
 'inverse' - dark gray button, not tied to a semantic action or use.
 'info' - blue button, not tied to a semantic action or use.
 'link' - making it look like a link.
 Code example
                            
                                Set the browseTemplateproperty. $('#jqxFileUpload').jqxFileUpload({ browseTemplate: 'success' });
 
                                Get the autoUploadproperty. var browseTemplate = $('#jqxFileUpload').jqxFileUpload('browseTemplate');
 | 
                
                    | cancelTemplate | String | '' | 
                
                    | 
                            
                                Sets or gets the template applied to the 'Cancel All' button.
                            Possible Values: 'default' - the default button's template. The button's style depends only on the 'theme' property value.
 'primary' - dark blue button for extra visual weight.
 'success' - green button for successful or positive action.
 'warning' - orange button which indicates caution.
 'danger' - red button which indicates a dangerous or negative action.
 'inverse' - dark gray button, not tied to a semantic action or use.
 'info' - blue button, not tied to a semantic action or use.
 'link' - making it look like a link.
 Code example
                            
                                Set the cancelTemplateproperty. $('#jqxFileUpload').jqxFileUpload({ cancelTemplate: 'inverse' });
 
                                Get the cancelTemplateproperty. var cancelTemplate = $('#jqxFileUpload').jqxFileUpload('cancelTemplate');
 | 
                
                    | disabled | Boolean | false | 
                
                    | 
                            
                                Enables or disables the jqxFileUpload.
                             Code examples
                            
                                Set the disabledproperty. $('#jqxFileUpload').jqxFileUpload({ disabled: false });
 
                                Get the disabledproperty. var disabled = $('#jqxFileUpload').jqxFileUpload('disabled');
 | 
                
                    | fileInputName | String | '' | 
                
                    | 
                            
                                Sets or gets the nameattribute of the hidden file input which is submitted
                                                                                    to the URL specified by theuploadUrlproperty. This name is applied
                                                                                    to the file input of the file about to be uploaded and after the upload the name
                                                                                    attribute is removed so that it can be set to the next hidden file input (if any).
                                                                                    As a result, there is only one file input with this name attribute at a time. Code example
                            
                                Set the fileInputNameproperty. $('#jqxFileUpload').jqxFileUpload({ fileInputName: 'fileToUpload' });
 
                                Get the fileInputNameproperty. var fileInputName = $('#jqxFileUpload').jqxFileUpload('fileInputName'); 
 | 
                
                    | height | Number/String | 'auto' | 
                
                    | 
                            
                                Sets or gets the jqxFileUpload's height.
                             Code examples
                            
                                Set the heightproperty. $('#jqxFileUpload').jqxFileUpload({ height: '150px' });
 
                                Get the heightproperty. var height = $('#jqxFileUpload').jqxFileUpload('height');
 | 
                
                    | localization | Object | null | 
                
                    | 
                            
                                Sets the various text values used in the widget. Useful for localization.
                             
                                The localization object has the following fields:
                             browseButton - sets the text of the 'Browse' button.
 uploadButton - sets the text of the 'Upload All' button.
 cancelButton - sets the text of the 'Cancel All' button.
 uploadFileTooltip - sets the text of the 'Upload File' tooltip.
 cancelFileTooltip - sets the text of the 'Cancel' tooltip.
 Code example
                            
                                Set the localizationproperty. $('#jqxFileUpload').jqxFileUpload({ localization: { browseButton: 'Blättern', uploadButton: 'Laden Sie alle', cancelButton: 'alle Abbrechen', uploadFileTooltip: 'Datei hochladen', cancelFileTooltip: 'aufheben' } });
 
                                Get the localizationproperty. var localization = $('#jqxFileUpload').jqxFileUpload('localization');
 | 
                
                    | multipleFilesUpload | Boolean | true | 
                
                    | 
                            
                                Sets or gets whether multiple files selection and upload are allowed.
                             Code example
                            
                                Set the multipleFilesUploadproperty. $('#jqxFileUpload').jqxFileUpload({ multipleFilesUpload: false });
 
                                Get the multipleFilesUploadproperty. var multipleFilesUpload = $('#jqxFileUpload').jqxFileUpload('multipleFilesUpload');
 | 
                
                    | renderFiles | function | null | 
                
                    | 
                            
                                A callback function used for rendering the file selection rows.
                             Code example
                            
                                Set the renderFilesproperty. $('#jqxFileUpload').jqxFileUpload({ width: 300, uploadUrl: 'upload.php', fileInputName: 'fileToUpload',
    renderFiles: function (fileName) {
        var stopIndex = fileName.indexOf('.');
        var name = fileName.slice(0, stopIndex);
        var extension = fileName.slice(stopIndex);
        return name + '<strong>' + extension + '</strong>';
    }
}); 
 
                                Get the renderFilesproperty. var renderFiles = $('#jqxFileUpload').jqxFileUpload('renderFiles');
 | 
                
                    | rtl | Boolean | false | 
                
                    | 
                            
                                Sets or gets a value indicating whether widget's elements are aligned to support
                                                                                    locales using right-to-left fonts.
                             Code example
                            
                                Set the rtlproperty. $('#jqxFileUpload').jqxFileUpload({ rtl : true });
 
                                Get the rtlproperty. var rtl = $('#jqxFileUpload').jqxFileUpload('rtl');
 | 
                
                    | theme | String | '' | 
                
                    | 
                            
                                Sets the widget's theme.
                             
                            jQWidgets uses a pair of css files - jqx.base.css and jqx.[theme name].css. The
                                                                                base stylesheet creates the styles related to the widget's layout like margin, padding,
                                                                                border-width, position. The second css file applies the widget's colors and backgrounds.
                                                                                The jqx.base.css should be included before the second CSS file. In order to set
                                                                                a theme, you need to do the following:
                                                                                 | 
                
                    | uploadUrl | String | '' | 
                
                    | 
                            
                                Sets or gets the upload URL. This property corresponds to the upload form's actionattribute. For example, the uploadUrl property can point to a PHP file, which to
                                                                                    handle the upload operation server-side. Here is a sample PHP file that allows only
                                                                                    images no larger than 500 kB to be uploaded to the server: <?php$target_dir = "uploads/";$target_file = $target_dir . basename($_FILES["fileToUpload"]["name"]);$uploadOk = 1;$imageFileType = pathinfo($target_file,PATHINFO_EXTENSION);// Check if image file is a actual image or fake imageif(isset($_POST["submit"])) {    $check = getimagesize($_FILES["fileToUpload"]["tmp_name"]);    if($check !== false) {        echo "File is an image - " . $check["mime"] . ".";        $uploadOk = 1;    } else {        echo "File is not an image.";        $uploadOk = 0;    }}// Check if file already existsif (file_exists($target_file)) {    echo "Sorry, file already exists.";    $uploadOk = 0;}// Check file sizeif ($_FILES["fileToUpload"]["size"] > 500000) {    echo "Sorry, your file is too large.";    $uploadOk = 0;}// Allow certain file formatsif($imageFileType != "jpg" && $imageFileType != "png" && $imageFileType != "jpeg"&& $imageFileType != "gif" ) {    echo "Sorry, only JPG, JPEG, PNG & GIF files are allowed.";    $uploadOk = 0;}// Check if $uploadOk is set to 0 by an errorif ($uploadOk == 0) {    echo "Sorry, your file was not uploaded.";// if everything is ok, try to upload file} else {    if (move_uploaded_file($_FILES["fileToUpload"]["tmp_name"], $target_file)) {        echo "The file ". basename( $_FILES["fileToUpload"]["name"]). " has been uploaded.";    } else {        echo "Sorry, there was an error uploading your file.";    }}?>
                                A few notes about file uploads in PHP:
                             
                                Many shared hosting servers allow a very low maximum file upload size. If you plan
                                                                                    on accepting larger files, you should consider a dedicated or virtual dedicated
                                                                                    server. To adjust the file upload size in PHP, modify the php.ini file's "upload_max_filesize"
                                                                                    value. You can also adjust this value using PHP's .ini_set() function. The file
                                                                                    upload counts towards the hosting environment's $_POST size, so you may need to
                                                                                    increase the php.ini file's post_max_size value. Be sure to do a lot of file validation
                                                                                    when allowing users to upload files. How horrible would it be to allow a user to
                                                                                    upload a .exe file to your server? They could do horrible things on the server.
                             Code example
                            
                                Set the uploadUrlproperty. $('#jqxFileUpload').jqxFileUpload({ uploadUrl: 'upload.php' });
 
                                Get the uploadUrlproperty. var uploadUrl = $('#jqxFileUpload').jqxFileUpload('uploadUrl');
 | 
                
                    | uploadTemplate | String | '' | 
                
                    | 
                            
                                Sets or gets the template applied to the 'Upload All' button.
                            Possible Values: 'default' - the default button's template. The button's style depends only on the 'theme' property value.
 'primary' - dark blue button for extra visual weight.
 'success' - green button for successful or positive action.
 'warning' - orange button which indicates caution.
 'danger' - red button which indicates a dangerous or negative action.
 'inverse' - dark gray button, not tied to a semantic action or use.
 'info' - blue button, not tied to a semantic action or use.
 'link' - making it look like a link.
 Code example
                            
                                Set the uploadTemplateproperty. $('#jqxFileUpload').jqxFileUpload({ uploadTemplate: 'primary' });
 
                                Get the uploadTemplateproperty. var uploadTemplate = $('#jqxFileUpload').jqxFileUpload('uploadTemplate');
 | 
                
                    | width | Number/String | null | 
                
                    | 
                            
                                Sets or gets the jqxFileUpload's width.
                             Code examples
                            
                                Set the widthproperty. $('#jqxFileUpload').jqxFileUpload({ width: 300 });
 
                                Get the widthproperty. var width = $('#jqxFileUpload').jqxFileUpload('width');
 | 
                
                    |  | 
                
                    | remove | Event |  | 
                
                    | 
                            
                                This event is triggered when a file row has been removed.
                             Code examples
                            
                                Bind to the removeevent by type: jqxFileUpload. $('#jqxFileUpload').on('remove', function (event) {
    var fileName = event.args.file;
    // Your code here.
});
 | 
                
                    | select | Event |  | 
                
                    | 
                            
                                This event is triggered when a file has been selected.
                             Code examples
                            
                                Bind to the selectevent by type: jqxFileUpload. $('#jqxFileUpload').on('select', function (event) {
    var args = event.args;
    var fileName = args.file;
    var fileSize = args.size; // Note: Internet Explorer 9 and earlier do not support getting the file size.
    // Your code here.
});
 | 
                
                    | uploadStart | Event |  | 
                
                    | 
                            
                                This event is triggered when a file upload operation has started.
                             Code examples
                            
                                Bind to the uploadStartevent by type: jqxFileUpload. $('#jqxFileUpload').on('uploadStart', function (event) {
    var fileName = event.args.file;
    // Your code here.
}); 
 | 
                
                    | uploadEnd | Event |  | 
                
                    | 
                            
                                This event is triggered when a file upload operation has ended.
                             Code examples
                            
                                Bind to the uploadEndevent by type: jqxFileUpload. $('#jqxFileUpload').on('uploadEnd', function (event) {
    var args = event.args;
    var fileName = args.file;
    var serverResponce = args.response;
    // Your code here.
});
 | 
                
                    |  | 
                
                    | browse | Method |  | 
                
                    | 
                            
                                Browses for a file.
                             
                                Note: due to browser restrictions, this method would not work on Internet
                                                                                    Explorer 9 or earlier.
                             
                                
                                    
                                        Return Value 
                                None
                                            | Parameter | Type | Description |  
                                            | None |  |  |  Code examples
                            
                                Invoke the browsemethod. $('#jqxFileUpload').jqxFileUpload('browse');
 | 
                
                    | cancelFile | Method |  | 
                
                    | 
                            
                                Cancels a selected file.
                             
                                
                                    
                                        Return Value 
                                None
                                            | Parameter | Type | Description |  
                                            | None |  |  |  Code examples
                            
                                Invoke the cancelFilemethod. // @param int. The expected parameter is the file index.
                        
$('#jqxFileUpload').jqxFileUpload('cancelFile', 3);
 | 
                
                    | cancelAll | Method |  | 
                
                    | 
                            
                                Cancels all selected files.
                             
                                
                                    
                                        Return Value 
                                None
                                            | Parameter | Type | Description |  
                                            | None |  |  |  Code examples
                            
                                Invoke the cancelAllmethod. $('#jqxFileUpload').jqxFileUpload('cancelAll');
 | 
                
                    | destroy | Method |  | 
                
                    | 
                            
                                Destroys the jqxFileUpload.
                             
                                
                                    
                                        Return Value 
                                None
                                            | Parameter | Type | Description |  
                                            | None |  |  |  Code examples
                            
                                Invoke the destroymethod. $('#jqxFileUpload').jqxFileUpload('destroy'); 
 | 
                
                    | render | Method |  | 
                
                    | 
                            
                                Renders the widget.
                             
                                
                                    
                                        Return Value 
                                None
                                            | Parameter | Type | Description |  
                                            | None |  |  |  Code examples
                            
                                Invoke the rendermethod. $('#jqxFileUpload').jqxFileUpload('render');
 | 
                
                    | refresh | Method |  | 
                
                    | 
                            
                                Refreshes the widget.
                             
                                
                                    
                                        Return Value 
                                None
                                            | Parameter | Type | Description |  
                                            | None |  |  |  Code examples
                            
                                Invoke the refreshmethod. $('#jqxFileUpload').jqxFileUpload('refresh'); 
 | 
                
                    | uploadFile | Method |  | 
                
                    | 
                            
                                Uploads a selected file.
                             
                                
                                    
                                        Return Value 
                                None
                                            | Parameter | Type | Description |  
                                            | fileIndex | Number |  |  Code examples
                            
                                Invoke the uploadFilemethod. // @param int. The expected parameter is the file index.
                        
$('#jqxFileUpload').jqxFileUpload('uploadFile', 1);
 | 
                
                    | uploadAll | Method |  | 
                
                    | 
                            
                                Uploads all selected files.
                             
                                
                                    
                                        Return Value 
                                None
                                            | Parameter | Type | Description |  
                                            | None |  |  |  Code examples
                            
                                Invoke the uploadAllmethod. $('#jqxFileUpload').jqxFileUpload('uploadAll');
 |