I hope you can support me with the following question.
At the moment of sending a alert
in a validation I would like a sound to be output along with the alert
as I can do that.
I have tried several things but they do not work, I hope you can guide me.
Thank you.
<audio src="Imagenes/alarma_fuerte.mp3" id="sonido"></audio>
<input type="button" id="alarma" value="sonaaaar !!!">
<script type="text/javascript">
document.getElementById('#sonido').play();
alert("elertaa !! ");
</script>