|
-
Jul 9th, 2004, 09:06 AM
#1
Thread Starter
Junior Member
Play *.wav or beep in javascript
I have a javascript file that runs from an ASP.Net page. I need to either emit a beep or play a wav file of a beep. Can you tell me how to do that? Here is my code where I want to place it.
if (document.getElementById('hidEndAlarm').value == "1")
{
if (document.getElementById('lblTargetTime').innerText == document.getElementById('lblElapsedTime').innerText)
{
// Flash screen and beep
var Flash=0;
// PLAY BEEP HERE
}
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|