The visible() method, called without any parameters, will return the current visible state of the Upload component.
The visible(bool) method is used to show or hide the Upload. Passing true will show and false will hide the widget.

<input type="file" name="files" id="files" />

<script type="text/javascript">
    jQuery(function ($) {
            async: {
                enabled: true,
                save: {
                    url: "/upload/save"
                remove: {
                    url: "/upload/remove"

        // hide the upload