如何使用日期控件

我在HTML中插入一个日期Activex控件,不知该Activex控件有那些方法可使用以及如何在javascript中使用,望指教?

Activex控件: classid="clsid:20DD1B9E-87C4-11D1-8BE3-0000F8754DA1"
---------------------------------------------------------------

1<form method="post" name="frm">时间:<input "="" name="begintime" size="10" type="text"/></form>
1<object classid="CLSID:8E27C92B-1264-101C-8A2F-040224009C02" codebase="MSCAL.OCX" height="200" id="Calendar" width="250"></object>
1<script event="AfterUpdate" for="Calendar" language="javascript">   
2document.frm.begintime.value = Calendar.Year + "-" + Calendar.Month + "-" + Calendar.Day   
3</script>
1<object classid="clsid:5220cb21-c88d-11cf-b347-00aa00a28331" height="0" width="0">
2<param name="LPKPath" value="/ActiveX/pubocx.lpk"/>
3</object>
Published At
Categories with Web编程
Tagged with
comments powered by Disqus