PageSourceSearch

https://www.adic.or.kr/scripts/account/account_common.js

js adic.or.kr collected 2026-10-06 03:52:54 UTC 2,368 bytes, 72 lines download raw bytes

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호 &nbsp; / &nbsp;CONTACT&nbsp;'
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.