Displaying 1 result from an estimated 1 matches for "enablejavascript".
2006 Aug 01
0
wav file
...do something like this, but am wondering if there is 
a better way.
Thanks!
<script>
function EvalSound(soundobj) {
var thissound=document.getElementById(soundobj);
thissound.Play();
}
</script>
<embed src="alf.wav"  autostart=false width=0 height=0 id="sound1" 
enablejavascript="true">
<form>
<input type="button" value="Play Sound" onClick="EvalSound(''sound1'')">
</form>
-- 
Posted via http://www.ruby-forum.com/.