Syntax submit.handleEvent(event) The handleEvent() method invokes the handler for the event specified.