You are here: irt.org | FAQ | JavaScript | Object | Q500 [ previous next ]
Wouldn't it be nice if it was? Well:
<EMBED SRC="sound.mid" NAME="mySound" MASTERSOUND AUTOSTART="false" LOOP=1 HIDDEN="true" HEIGHT=0 WIDTH=0> <SCRIPT LANGUAGE="JavaScript"><!-- function interrogate(what) { var output = ''; for (var i in what) output += i+ '\n'; alert(output); } //--></SCRIPT> <FORM> <INPUT TYPE="BUTTON" onClick="interrogate(document.embeds[0])" VALUE="View"> </FORM>