var mycal1 = new calendar1(document.forms.elements['txtPurchDt']);
cal1.year_scroll = true;
cal1.time_comp = false;
Note: I have tried replacing the forms tag to forms['aspnetForm'] which still does not work.
I read in some forum that I need to replace the Unique Id, which I am not sure how. I use C# for coding.
Can somebody HELP...
Thanks in advance