控件放在<body>下可以用,可是放在表格中就没法用了
如题,是什么问题呢?
<body>
<OBJECT ID= "TestAx " CLASSID= "CLSID:94078399-172D-45D6-9B62-009F2587E275 " wide=320 height=240 CODEBASE= "http://www.softwife.com/cab/xxx.cab#version=1, 0, 0, 1 "> </OBJECT> //放这里正常!
<table align= "center " width= "760 " border= "0 " cellpadding= "0 " cellspacing= "0 ">
<tr>
<td width= "329 ">
<OBJECT ID= "TestAx " CLASSID= "CLSID:94078399-172D-45D6-9B62-009F2587E275 " wide=320 height=240 CODEBASE= "http://www.softwife.com/cab/xxx.cab#version=1, 0, 0, 1 "> </OBJECT>
//放这里的话不正常,提示说找不到TestAx
</td>
</tr>
table>
</body>
<script language= "JavaScript " type= "text/javascript ">
TestAx.DeQQ_VideoFunc(1)
</script>
------解决方案--------------------你的table很可能在form标签内,调用可能是form1.TestAx.DeQQ_VideoFunc(1),form1是form的ID,这是我的猜想