jquery - How can we add beep sound for message notification in javascript? - Stack Overflow

Added sample to show message notification.Whenever we show it we have to add beep sound. Almost it imit

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">

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745238456a4618032.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信