This code allows you to set up any element you like as a trigger to play a sound of your choice on click. Click the button in the frame below to see it in action.
Copy the code below to the before </body> tag of the page you need the functionality on.