Article Details
Id: | 20668 |
Product: | finPOWER Connect |
Type: | NEW |
Version: | 4.00.03 |
Opened: | 29/08/2023 |
Closed: | 29/08/2023 |
Released: | 27/09/2023 |
Job: | J031905 |
HTML Widgets; widget.UI.FileUpload Control; Change event added
The FileUpload HTML Widget Control now has a "Change" event that can be used to detect when files are added to or removed from the control's file list.C.fuFileUpload = widget.UI.FileUpload("fuFileUpload", {
allowFile: true,
allowDocumentManager: true,
allowResource: true,
maxFiles: 1,
onChange: fuFileUpload_Change,
});
function fuFileUpload_Change(sender, e) {
// some code to work with the control's selected files
}