Difference between revisions of "Template:Waterloo/Pages/cal-heatmap-test"

Line 42: Line 42:
 
date.toDateString() + "</b>"
 
date.toDateString() + "</b>"
 
);
 
);
$("#notes-table").html("<b>" +
+
var message = $.each(notes[month[date.getMonth()]+(date.getDate())], function( index, value ) {
$.each(notes[month[date.getMonth()]+(date.getDate())], function( index, value ) {
+
alert( index + ": " + value );
  alert( value );
+
});
});
+
$("#notes-table").html("<b>" + message
 
+ "</b>"
 
+ "</b>"
 
);
 
);

Revision as of 23:29, 13 September 2015