1
I’m making a web application that when the person clicks the button submit the form and automatically is playing a warning sound, but I’m not able to reproduce the sound and submit the form ,it only performs one function ignoring the other.
<button type="submit" class="btn btn-block btn-primary" onClick="$('#audio')[0].play();$('#chamarPainel').submit();"> Chamar </button>
It worked ,VLW.
– LeonardoAraujo
Man, now it’s not working out ,he’s ignoring play and he’s doing Submit
– LeonardoAraujo