<OBJECT classid=clsid:E0A87E03-8CBA-44BE-B60B-A03BA274F6FB
codebase="http://wenn/voicemail/soundrecord.ocx#version=1,0,0,5"
height=15 id=SoundRecord name=SoundRecord
style="HEIGHT: 15px; LEFT: 0px; TOP: 0px; WIDTH: 94px"
width=300 VIEWASTEXT><PARAM NAME="_ExtentX" VALUE="2487"><PARAM NAME="_ExtentY" VALUE="397"></OBJECT><SCRIPT language=JavaScript>
<!--
var Stateflag = 1
.....
function PlayStream()
{
document.SoundRecord.WavePlay();
Stateflag = 2
}就是这样了,试用过那个document.getElementById("");好像也不行,应该是怎样呢!!
codebase="http://wenn/voicemail/soundrecord.ocx#version=1,0,0,5"
height=15 id=SoundRecord name=SoundRecord
style="HEIGHT: 15px; LEFT: 0px; TOP: 0px; WIDTH: 94px"
width=300 VIEWASTEXT><PARAM NAME="_ExtentX" VALUE="2487"><PARAM NAME="_ExtentY" VALUE="397"></OBJECT><SCRIPT language=JavaScript>
<!--
var Stateflag = 1
.....
function PlayStream()
{
document.SoundRecord.WavePlay();
Stateflag = 2
}就是这样了,试用过那个document.getElementById("");好像也不行,应该是怎样呢!!
{
var mydd=document.getElementById("SoundRecord");
mydd.WaveRecord();
Stateflag = 1
}
也不行,为什么,在点击打开时,就可以呢???
如下:
SoundRecord.WavePlay();
all
anchors
applets
body
forms
frames
images
links
selection
scripts
stylesheets
好像没有object.