<object id=oneocx onchange="oneocx_onselectchanged(this.id)"...

解决方案 »

  1.   

    Try..function oneocx.onselectchanged(ID)
    {
    window.alert(ID);
    }
      

  2.   

    <object data="t.htm" type="text/x-scriptlet" width="158" height="50" align="top" id=oneocx>
    </object>
    </OBJECT>
    <script>
    function oneocx.onmouseover(){alert('0')}
    //function oneocx.onselectchanged() {alert('0')}
    </script>
      

  3.   

    to wanghr100(灰豆宝宝.net) :
    我的对象:
    <object classid="clsid:197ACB07-8B44-4E92-85FA-CA3BB02018A1 " codebase="line/cab/LVCWeb.cab" width="100%" height="100%" class="buttonstyle" name="LineView" VIEWASTEXT>
            <param name="_Version" value="65536">
            <param name="_ExtentX" value="18150">
            <param name="_ExtentY" value="10821">
            <param name="_StockProps" value="0">
    </object>用了你的方法后提示LineView未定义.why????????????????