The URL of the endpoint that will handle the upload. The server must return an empty response to indicate success and error will be assumed in the rest of the cases.

If the URL is not on the same domain, the server must enable CORS for that endpoint, otherwise the upload will not work.

NOTE: CORS will not work on older browsers like IE8 and 9, because the iframe methods requires the page and the upload handler to be on the same domain.

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

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

For server-side examples, check this section.