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", //ï¼å¹´åããï¼å¹´å¾ã¾ã§(ãã ããminDateãå ¥ãã¦ããã®ã§ï¼å¹´å¾ã¾ã§ã®ã¿æå¹) 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.