[Javascript] Geluid afspelen

Html code:

< src="Sound/success.wav" autostart="false" name="sound1" enablejavascript="true" style="display: none;" width="0" height="0">
< / embed>

Javascript:

function EvalSound(soundobj) {
var thissound = eval("document." + soundobj);
thissound.Play();
}

Reacties

Populaire posts van deze blog

IIS: Application pool recycling vs IIS Reset

Hoofdstuk 2 - Les 2

Totstandkoming estimated en actual query plans Sql Server