1/** 2 * Created by jhlee on 2016-03-30. 3 */ 4var needInputName = "ì´ë¦ì ì ë ¥ í´ ì£¼ì¸ì."; 5var needInputEmail = "ì´ë©ì¼ íìì ë§ê² ì ë ¥ í´ ì£¼ì¸ì."; 6 7$(document).ready(function () { 8 var header = '<a href="http://www.ad.co.kr/index.waple">' 9 + '<img src="/images/main_logo_2016.png"/>' 10 + '</a>'; 11 12 $("#header").append(header); 13 14 var footer = '<p class="footer_text">' 15 + 'ìì¸í¹ë³ì ì¡í구 ì¬ë¦¼í½ë¡ 35길 137(ì ì²ë) íêµê´ê³ 문ííê´ 901í¸ / CONTACT ' 16 + '<a href="http://www.ad.co.kr/helpdesk/qna/edit.cjsp?sectionUkey=6351" class="link_underline">[email protected]</a>' 17 + '<br/><span style="font-size: 0.8em">COPYRIGHT (C) adic.or.kr SINCE 1997. ALL RIGHT RESERVED.</span>' 18 + '</p>'; 19 20 $("#footer").append(footer); 21 22 $.validator.addMethod("checkPassword", function (value, element) { 23 var password = element.value; 24 var chk_num = password.search(/[0-9]/g); 25 var chk_eng = password.search(/[a-z]/ig); 26 27 if (chk_num < 0 || chk_eng < 0) { 28 return false; 29 } else { 30 return true; 31 } 32 33 }, "ë¹ë°ë²í¸ë ì«ìì ì문ì를 í¼ì©íì¬ì¼ í©ëë¤."); 34 35 $.validator.addMethod("checkRecaptcha", function (value, element) { 36 if (grecaptcha.getResponse() == '') { 37 return false; 38 } else { 39 return true; 40 } 41 }, "ë¡ë´ì´ ìëëë¤ë¥¼ ì íí´ì£¼ì¸ì."); 42 43}); 44 45function setFIndUserInfoValidElem(elem) { 46 elem.validate({ 47 errorPlacement: function (error, element) { 48 console.log("error : ", error.text()); 49 } 50 }); 51} 52function isValidEmail(value) { 53 return /^\w+@[a-zA-Z_]+?\.[a-zA-Z]{2,3}$/.test(value) || /[-a-zA-Z0-9@:%_\+.~#?&//=]{2,256}\.[a-z]{2,4}\b(\/[-a-zA-Z0-9@:%_\+.~#?&//=]*)?/.test(value); 54} 55 56function isValidForFindUserName(nameElem) { 57 return nameElem.valid(); 58} 59 60function isValidForFindUserEmail(emailElem) { 61 return emailElem.valid() && isValidEmail(emailElem.val()) 62} 63 64function setCheckBox(checkboxElem) { 65 checkboxElem.addClass("checked"); 66 checkboxElem.attr("src", "/html/account/images/checkbox_on.png"); 67} 68 69function setUnCheckBox(checkboxElem) { 70 checkboxElem.removeClass("checked"); 71 checkboxElem.attr("src", "/html/account/images/checkbox_off.png"); 72}
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.