PageSourceSearch

https://mcce.midland.edu/script/hir-datepicker.js?v=6.1.7-202607211231

js midland.edu collected 2026-09-24 09:32:06 UTC 1,589 bytes, 47 lines download raw bytes

1(function($){
2
3    $.fn.hirDatepicker = function( options ){
4
5        var liveRegion = (options && options.liveRegion) || "#liveRegion";
6        var fullmonth_array = $.datepicker._defaults.monthNames;
7
8        var settings = $.extend({
9            changeYear: true,
10            changeMonth: true,
11            maxDate: null,
12            minDate: null,
13            yearRange: "c-10:c+10",
14            onClose: function() {
15                $(liveRegion).empty();
16            },
17            onChange: function (ev) {
18                $(this).valid();
19            }
20        }, options );
21
22        $(this).datepicker({
23            changeYear: settings.changeYear,
24            changeMonth: settings.changeMonth,
25            maxDate: settings.maxDate,
26            minDate: settings.minDate,
27            yearRange: settings.yearRange,
28            monthNamesShort: fullmonth_array,
29            onClose: settings.onClose,
30            onChange: settings.onChange
31        }).on("input", function(){
32            $(this).datepicker('hide')
33        });
34
35        $(this).keydown(function(evt) {
36            if ((evt.ctrlKey && (evt.keyCode == 35 || evt.keyCode == 37 || evt.keyCode == 39 || evt.keyCode == 65 || evt.keyCode == 81)) || evt.keyCode == 33 || evt.keyCode == 34) {
37                var message = "" + $(".ui-state-hover").html() +
38                    " " + $(".ui-datepicker-month option:selected").text() +
39                    " " + $(".ui-datepicker-year option:selected").text();
40                $(liveRegion).html(message);
41            }
42        });
43
44        return this;
45    }
46
47})(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.