I'm using an ActiveX calender control with a button. I'm trying to get the
date selected in the control whenever the button is pressed. It is giving an
error method or property not supported. Here is the code, Plz let me know
the solution.
<%@ Language=VBScript %>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<% dim strdate %>
<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
<!--
function button1_onclick() {
alert ("show date");
alert (OBJECT1.Day);
}
-->
</HEAD><BODY><P>
<OBJECT classid=clsid:8E27C92B-1264-101C-8A2F-040224009C02 id=OBJECT1
style="HEIGHT: 152px; LEFT: 10px; TOP: 91px; WIDTH: 244px"></OBJECT></P>
<P><INPUT id=button1 name=button1 type=button value=Button
LANGUAGE=javascript onclick="return button1_onclick()"></P></BODY></HTML>
-Nav