Dears
I am trying to run a simple bgsound script. But i dont know why its not working. The code is as follows.
I would be extremely obliged for anyone's favourable response in this regard.
Thanks & Regards
Muhammad Qaiser
I am trying to run a simple bgsound script. But i dont know why its not working. The code is as follows.
Code:
<script language="javascript">
function changeBgSound(arg){
document.getElementById("mysound").src=arg;
}
</script>
<body>
<bgsound id="mysound" src="cphfinan.wav">
<a href="soundtest.html" onClick="changeBgSound('cphfinan.wav')"><img src="favicon.ico"></a>
</body>
Thanks & Regards
Muhammad Qaiser
Comment