PageSourceSearch

https://inckl.or.kr/lib/js/script.document.js?v=20240619

js inckl.or.kr collected 2026-10-08 23:05:45 UTC 2,096 bytes, 73 lines download raw bytes

1$(document).ready(function(){
2	/* Datepicker */
3	var datepickers = $(".form_datepicker");
4	if (datepickers.length>0) {
5		datepickers.datepicker({
6			dateFormat  : 'yy-mm-dd',
7			changeMonth : true,
8			changeYear  : true,
9			yearRange : '-75: +10',
10			showAnum: "slide",
11			prevText : "이전달",
12			nextText : "다음달",
13			monthNamesShort:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],
14			dayNamesMin:["일","월","화","수","목","금","토"],
15			showMonthAfterYear : true,				// 년도 뒤에 월 선택 나오도록
16			showOtherMonths : true,					// 1개월내에 다른달 날짜도 출력 여부
17			firstDay : 0,									// 0이면 일요일부터 출력, 1:이면 월요일부터 출력
18			duration :"fast",								// 달력이 나타나는 속도( slow / normal / fast)
19			buttonImageOnly: true
20		});
21
22		datepickers
23			.prop("readonly", false)
24			.prop("placeholder", "yyyy-MM-dd 형식")
25			.prop("maxlength", 10)
26			.on("blur", function(){
27				var val = this.value;
28				var date = Date.parse(val);
29				if (val=="") {
30					return ;
31				} else if (isNaN(date)) {
32					alert("지원하지 않은 날짜 형식입니다.\nyyyy-MM-dd 형식으로 입력해주세요.");
33					this.value = "";
34				}
35
36				$(this).val(new Date(date).format("yyyy-MM-dd"));
37				return ;
38			})
39		;
40	}
41	
42	/* 첨부파일 용량 확인 */
43	$("input[type=file]").on("change", function(){
44		var el = this;
45		var maxSize = fnLoad_maxFileSize();
46		var fileSize = 0;
47		var browser=navigator.appName;
48
49		if (!el.value) {
50			return false;
51		}
52
53		if (browser=="Microsoft Internet Explorer") {
54			//스플로러일 경우
55			var fso = new ActiveXObject("Scripting.FileSystemObject");
56			fileSize = fso.getFile( f.value ).size;
57
58		} else {
59			//익스플로러가 아닐경우
60			fileSize = el.files[0].size;
61
62		}
63
64		if (fileSize>maxSize) {
65			alert(fnLoad_maxFileSize("beauty") +" 이상으로 파일 업로드는 불가합니다.");
66			$(el)
67				.val("")
68				.change();
69			;
70			return false;
71		}
72	});
73});

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.