jQuery Upload Getting Started

The Upload widget allows you to upload one or more files to a server in the standard or asynchronous mode.
In order to properly render it on the page, you need to:
1. Include references to all required scripts. Make sure you include the CSS file for your preferred theme.
2. Add an <input type="file" /> element for which to initialize the upload functionality.
3. Initialize the component.

<!DOCTYPE html>
<html>
<head>
<title>Shield UI Upload</title>
<meta charset="utf-8" />

<link rel="stylesheet" type="text/css" href="css/light/all.min.css" />
<script src="js/jquery-1.10.2.min.js" type="text/javascript"></script>
<script src="js/shieldui-all.min.js" type="text/javascript"></script>

</head>
<body>

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

<script type="text/javascript">
    jQuery(function ($) {
        $('#files').shieldUpload({
            async: {
                enabled: true,
                save: {
                    url: "/upload/save"
                },
                remove: {
                    url: "/upload/remove"
                }
            }
        });
    });
</script>

</body>
</html>

To see an example of the control in action, along with all the required code, please refer to the following example.

For examples of server-side scripts, handling the upload, please refer to this page.