PageSourceSearch

https://www.unitedcooperative.com/Content/FormComponents/DatePickerComponent/DatePickerComponent.js

js unitedcooperative.com collected 2026-10-08 07:21:51 UTC 1,116 bytes, 30 lines download raw bytes

1function createDatePickerFormComponent(formControl) {
2    var htmlContentInput = document.querySelector("[name='" + formControl + "']");
3    var datetimepickerOptions = {
4        format: 'Y-m-d H:i',
5        formatDate: 'Y-m-d',
6        formatTime: 'H:i',
7        step: 1,
8        timepicker: true,
9        scrollMonth: false,
10        scrollInput: false
11    };
12
13    // Check for jQuery
14    if (window.jQuery) {
15        // Check for the datepicker. If not found, load manually.
16        if (window.jQuery.datetimepicker) {
17            $(htmlContentInput).datetimepicker(datetimepickerOptions);
18        } else {
19            $.ajaxSetup({
20                cache: true
21            });
22            $.getScript("/Content/FormComponents/DatePickerComponent/datetimepicker/jquery.datetimepicker.js").done(function(script, textStatus) {
23                $(htmlContentInput).datetimepicker(datetimepickerOptions);
24            });
25        }
26    } else {
27        console.log("jQuery not found. Waiting for load 2 seconds.");
28        setTimeout(2000, createDatePickerFormComponent(formControl));
29    }
30}

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.