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
1 Answer
Reset to default 4this 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
版权声明:本文标题:jquery - How can we add beep sound for message notification in javascript? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745238455a2649178.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论