JS调用OCX事件,提示不支持此属性或方法
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'index.jsp' starting page</title>
<script type="text/javascript">
function one(){
alert("123");
Client.closeReader();
alert("234");
return ;
}
</script>
</head>
<body>
<object id="Client" height="0" width="0"
classid="CLSID:F03B8F88-75CF-4D9A-BD70-061D823A3C06">
<PARAM NAME="_Version" VALUE="65536">
<PARAM NAME="_ExtentX" VALUE="26">
<PARAM NAME="_ExtentY" VALUE="26">
<PARAM NAME="_StockProps" VALUE="0">
</object>
<input name="" type="button" onClick="return one();" value="ocxTest">
</body>
</html>