PageSourceSearch

https://www.njp.or.jp/wp-content/themes/njp22/assets/js/datepicker-ja.js?ver=7.1.2

js njp.or.jp collected 2026-10-02 06:44:36 UTC 1,433 bytes, 45 lines download raw bytes

1
2
3
4$(function() {
5	$("#datepicker-1, #datepicker-2").datepicker( {
6	  changeYear: true,  // 年選択をプルダウン化
7	  changeMonth: true,  // 月選択をプルダウン化
8	  minDate: 0, //過去の日付を選択できないようにする
9	  scrollInput: false, //スクロールしないようにする
10	  yearRange: "-2:+2", //2年前から2年後まで(ただし、minDateを入れているので2年後までのみ有効)
11	  beforeShow: function(input, inst) {
12		var calendar = inst.dpDiv;
13		setTimeout(function() {
14			calendar.position({
15				my: 'left top',
16				at: 'left bottom',
17				of: input
18			});
19		}, 1);
20	}
21});
22   
23	// 日本語化
24	$.datepicker.regional['ja'] = {
25	  closeText: '閉じる',
26	  prevText: '<前',
27	  nextText: '次>',
28	  currentText: '今日',
29	  monthNames: ['1月','2月','3月','4月','5月','6月',
30	  '7月','8月','9月','10月','11月','12月'],
31	  monthNamesShort: ['1月','2月','3月','4月','5月','6月',
32	  '7月','8月','9月','10月','11月','12月'],
33	  dayNames: ['日曜日','月曜日','火曜日','水曜日','木曜日','金曜日','土曜日'],
34	  dayNamesShort: ['日','月','火','水','木','金','土'],
35	  dayNamesMin: ['日','月','火','水','木','金','土'],
36	  weekHeader: '週',
37	  dateFormat: 'yy/mm/dd',
38	  firstDay: 0,
39	  isRTL: false,
40	  showMonthAfterYear: true,
41	  yearSuffix: 'å¹´'};
42	$.datepicker.setDefaults($.datepicker.regional['ja']);
43  });
44
45

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.