I have a vbscript function on the page to open the calendar.I am trying to fire this from button click event.
I am getting this error 'getdate' is not a member of 'ASP.default_aspx'.
frm1.txtdate.value = window.showModalDialog("calendar.aspx","","dialogHeight: 200px;dialogWidth: 400px;status:no;" )
<asp:Button id="btnDate" runat="server" alt="Calendar" onclick="getdate()" align="top" border="0" />
Before it was image and it's firing the getdate function.Now I changed it from iamge button to regular button and it is not firing the getdate function.
Any suggestion please.