Need help setting it so that when a calendar date is chosen via the popup calendar picker, that the user does not have to double click or click outside the calendar to close it, but that the calendar will close right after you select the date.
I looked into the dhtml calendar authors site (http://www.dynarch.com/demos/jscalendar/doc/html/reference.html#node_toc_node_sec_Temp_1)
and saw that there was an option to have singleClick :True, so i added that code to the "view_functions.php" (so that every time the calendar would display a date it would add that code
script type="text/javascript"
Calendar.setup({
inputField : "element_{$element->id}_3",
baseField : "element_{$element->id}",
displayArea : "calendar_{$element->id}",
button : "cal_img_{$element->id}",
ifFormat : "%B %e, %Y",
onSelect : selectDate,
singleClick :" true"
});
/script