<%= calendar_select 'service', 'eval',
{ :class => 'date' },
{ :firstDay => 1,
:range => [1920, 2007]} %>
I threw in alerts in calendar-setup.js like so:
function onSelect(cal) {
alert ("Select");
var p = cal.params;
var update = (cal.dateClicked || p.electric);
if (update){
alert ("Update");
}
. . . . . . .
if (update && p.inputFieldDay) {
alert ("Day");
I get the "Select" and "Update" alerts but not the "Day" alert.
Any help appreciated. Thanks!