Boolean if the currently selected (or default, or today) date appears in the visible calendar grid. If the calendar has not yet been open, or not in calbox, it'll return false.
Added: isInCalGrid
if ( $( "#datebox" ).datebox( "isInCalGrid", new Date() ) ) {
...
}
Boolean if the specified date (object) appears in the visible calendar grid. If the calendar has not yet been open, or not in calbox, it'll return false.
So, calbox is the mode people most like to bolt other functionality on. It could be a little more forthcoming.
So, with that in mind:
Fixed: "displayChange" listener.
This only fires with calbox, and first along with the offset event.
Added : getSelectedDate function
Gets the currently user selected date, or the default, or today.
Added: getCalStartGrid
Gets beginning date of the currently visible calendar grid. If the calendar has not yet been open, or not in calbox, it'll return false.
Added: getCalEndGrid
Gets ending date of the currently visible calendar grid. If the calendar has not yet been open, or not in calbox, it'll return false.
Added: isSelectedInCalGrid
Boolean if the currently selected (or default, or today) date appears in the visible calendar grid. If the calendar has not yet been open, or not in calbox, it'll return false.
Added: isInCalGrid
Boolean if the specified date (object) appears in the visible calendar grid. If the calendar has not yet been open, or not in calbox, it'll return false.