Syntax fileupload.handleEvent(event) The handleEvent() method of the FileUpload object invokes the event handler for the specific event. Using the handleEvent method Choose a file: