How can I delay submit

How can I delay submit until the audio file finished because when submit event-triggered the page refreshed without playing the sound file I’ve tried this but it’s not working.

How to create a submit button that display the result based on selected inputs from dropdown list

I am using PHP and MySQL database on WordPress. I had created 4 dropdown list in a table where each one includes data retrieved from the database and I created a submit button. What I need is to …