admin管理员组

文章数量:1415698

Added sample to show message notification.Whenever we show it we have to add beep sound. Almost it imitates the behavior like desktop alert.

Can anyone have solution ?

Added sample to show message notification.Whenever we show it we have to add beep sound. Almost it imitates the behavior like desktop alert.

Can anyone have solution ?

Share Improve this question asked Oct 26, 2012 at 11:01 Sridhar Reddy BommireddySridhar Reddy Bommireddy 2473 gold badges6 silver badges11 bronze badges 1
  • See newer answers here: stackoverflow./questions/450033/… – Erel Segal-Halevi Commented Feb 13, 2013 at 12:06
Add a ment  | 

1 Answer 1

Reset to default 4

this should help

<script>
    function PlaySound(soundObj) {
        var sound = document.getElementById(soundObj);
        sound.Play();
    }
</script>

<embed src="success.wav" autostart="false" width="0" height="0" id="sound1" enablejavascript="true">

本文标签: jqueryHow can we add beep sound for message notification in javascriptStack Overflow