mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-08 14:26:16 +01:00
37 lines
785 B
JavaScript
Executable File
37 lines
785 B
JavaScript
Executable File
/* jQuery UI Datepicker */
|
|
|
|
$(function() {
|
|
"use strict";
|
|
$("#fromDate").datepicker({
|
|
defaultDate: "+1w",
|
|
changeMonth: true,
|
|
numberOfMonths: 3,
|
|
onClose: function(selectedDate) {
|
|
$("#toDate").datepicker("option", "minDate", selectedDate);
|
|
}
|
|
});
|
|
$("#toDate").datepicker({
|
|
defaultDate: "+1w",
|
|
changeMonth: true,
|
|
numberOfMonths: 3,
|
|
onClose: function(selectedDate) {
|
|
$("#fromDate").datepicker("option", "maxDate", selectedDate);
|
|
}
|
|
});
|
|
});
|
|
|
|
$(function() {
|
|
"use strict";
|
|
|
|
$("#datepicker_multiple_months").datepicker({
|
|
numberOfMonths: 3,
|
|
showButtonPanel: true
|
|
});
|
|
|
|
});
|
|
|
|
$(function() {
|
|
"use strict";
|
|
$(".datepicker").datepicker();
|
|
});
|