【发布时间】:2012-10-16 15:29:10
【问题描述】:
添加了显示消息通知的示例。每当我们显示它时,我们都必须添加哔声。几乎是在模仿桌面提醒之类的行为。
谁能有解决办法?
【问题讨论】:
-
在此处查看更新的答案:stackoverflow.com/questions/450033/…
标签: javascript jquery asp.net notifications beep
添加了显示消息通知的示例。每当我们显示它时,我们都必须添加哔声。几乎是在模仿桌面提醒之类的行为。
谁能有解决办法?
【问题讨论】:
标签: javascript jquery asp.net notifications beep
这应该有帮助
<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">
【讨论】: