fileSelect

Fires each time the user selects files using the File Select button.

Event Data

e.files Array

The array of selected files.

Example

<div id="promptbox"></div>
<script>
$("#promptbox").kendoPromptBox({
    fileSelectButton: true,
    placeholder: "Attach files...",
    fileSelect: function(e) {
        e.files.forEach(function(file) {
            console.log("Selected:", file.name, "Size:", file.size);
        });
    }
});
</script>
In this article
fileSelect
Not finding the help you need?
Contact Support