How to start uploading immediately

I’m looking for a way to start uploading the file provided with the upload button without adding another button. is that possible?

I use onChange() on the upload button to do something like this

$w('#uploadButton').onChange(() => {
	.then((uploadedFiles) => {

I tried that before and it didn’t work.
I’ll try again.