Widget:MattTest: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) No edit summary |
||
Line 72: | Line 72: | ||
$("#screenDate").datepicker({ | $("#screenDate").datepicker({ | ||
onSelect: function() { | onSelect: function() { | ||
checkScreenDate(); | checkScreenDate($("#screenDate").datepicker("getDate"),$("#eventDate").datepicker("getDate")); | ||
} | } | ||
}); | }); | ||
Line 824: | Line 824: | ||
} | } | ||
function checkScreenDate( | function checkScreenDate(screen, event){ | ||
var screenMin = new Date(event.getFullYear(),event.getMonth(),event.getDate()); | var screenMin = new Date(event.getFullYear(),event.getMonth(),event.getDate()); |