Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

in if condition how to set alert music in javascript

if (x > 10) {
        var snd = new Audio('/alarm.mp3');
        snd.play();
        alert("Thank you!");
    }
 
PREVIOUS NEXT
Tagged: #condition #set #alert #music #javascript
ADD COMMENT
Topic
Name
5+1 =