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.