I want to make a upload button on my website that will open up a lightbox. In this lightbox, there is a loading GIF. I want to automatically close the lightbox after 5 seconds and then automatically submit the form. So it looks like this:
Can anyone help me with this?