but I have problem when I used it.
when it clicked, it will called the function:
cal.select(document.forms['nmform'].date1,'anchor1','MM/dd/yyyy'); return false;
My problem is, it doesn't work when I used it on the dynamic path like this :home.php?page=medical/medical_form. It work properly when I called the form like this : medical/medical_form.php.