js调用ocx控件
来源:互联网 发布:巴比馒头 知乎 编辑:程序博客网 时间:2024/05/19 12:13
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>选择身份</title> <script> function myplay(){ myact.SetTxt("测试");} </script> </head><body onload="myplay();"><OBJECT classid="clsid:DD5D3840-4EE1-41C9-9D71-478344052FCD" codebase="http://192.168.1.29/ActiveFormProj1.ocx#version=1,0,0,0" width=690 height=455 align=center hspace=0 vspace=0 id="myact";></OBJECT></body></html>