Difference between revisions of "Template:Waterloo/Pages/cal-heatmap-test"
Line 42: | Line 42: | ||
date.toDateString() + "</b>" | date.toDateString() + "</b>" | ||
); | ); | ||
− | var message = $.each(notes[month[date.getMonth()]+(date.getDate())], function( index, value ) { | + | var message = "" |
− | + | $.each(notes[month[date.getMonth()]+(date.getDate())], function( index, value ) { | |
+ | message += value+"\n"; | ||
}); | }); | ||
$("#notes-table").html("<b>" + message | $("#notes-table").html("<b>" + message |
Revision as of 23:30, 13 September 2015