russ100
asked on
Submit button play sound
Hi
Got this submit button that i want to play a sound. the sound bit works in a function called playsound() but when i put it in the onclick of the submit button it does not have a chance to play before the form moves to the next page - any ideas how to get the sound to play before moving to the next page ?
<input type="submit" name="submit_button" value="Submit" onclick="playSound()" />
Thanks in advance
Russell
Got this submit button that i want to play a sound. the sound bit works in a function called playsound() but when i put it in the onclick of the submit button it does not have a chance to play before the form moves to the next page - any ideas how to get the sound to play before moving to the next page ?
<input type="submit" name="submit_button" value="Submit" onclick="playSound()" />
Thanks in advance
Russell
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I will leave the following recommendation for this question in the Cleanup topic area:
Accept: devic {http:#9244458}
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
jAy
EE Cleanup Volunteer