dropzone.js on submit php upload


no i know how to do upload, it working great, i just don’t know how to make upload on button press
i press button and then it uploads
i added code to my file so it doesn’t upload automatic but after i press button, but it doesn’t really upload because haven’t wrote code for that and my question is WHERE SHOULD I WRITE THAT CODE