테스트 사이트 - 개발 중인 베타 버전입니다

음... 아파치존에서는 이상한 코드가 있어서 등록이 안되길래 확인해봅니다. ^^

· 5년 전 · 3750 · 4

요런 문자열인데요~~

뭐가 요상한걸까요?

 

[code]


                { name: 'co_code', type: 'string' },
                { name: 'co_name', type: 'string' },
                { name: 'co_type', type: 'string' },
                { name: 'co_biz_num', type: 'string' },
                { name: 'co_preg_name', type: 'string' },
                { name: 'co_tel', type: 'string' },
                { name: 'co_addr', type: 'string' },
                { name: 'co_bigo', type: 'string' },
                { name: 'co_use_yn', type: 'string' },


===================================

                $("#co_code").val( "" );
                $("#co_name").val( "" );
                $("#co_type").val( "" );
                $("#co_biz_num").val( "" );
                $("#co_preg_name").val( "" );
                $("#co_tel").val( "" );
                $("#co_addr").val( "" );
                $("#co_bigo").val( "" );
                $("#co_use_yn").val( "" );


===================================

                $("#co_code").val( rowdata.co_code );
                $("#co_name").val( rowdata.co_name );
                $("#co_type").val( rowdata.co_type );
                $("#co_biz_num").val( rowdata.co_biz_num );
                $("#co_preg_name").val( rowdata.co_preg_name );
                $("#co_tel").val( rowdata.co_tel );
                $("#co_addr").val( rowdata.co_addr );
                $("#co_bigo").val( rowdata.co_bigo );
                $("#co_use_yn").val( rowdata.co_use_yn );


===================================

                { text: '업체 코드', datafield: 'co_code', align: 'center', cellsalign: 'center', filtertype: 'textbox', width: 100 },
                { text: '업체 이름', datafield: 'co_name', align: 'center', cellsalign: 'center', filtertype: 'textbox', width: 100 },
                { text: '업체 구분', datafield: 'co_type', align: 'center', cellsalign: 'center', filtertype: 'checkedlist', width: 100 },
                { text: '업체 사업자 번호', datafield: 'co_biz_num', align: 'center', cellsalign: 'center', filtertype: 'textbox', width: 100 },
                { text: '업체 대표자 이름', datafield: 'co_preg_name', align: 'center', cellsalign: 'center', filtertype: 'textbox', width: 100 },
                { text: '업체 전화', datafield: 'co_tel', align: 'center', cellsalign: 'center', filtertype: 'textbox', width: 100 },
                { text: '업체 주소', datafield: 'co_addr', align: 'center', cellsalign: 'center', filtertype: 'textbox', width: 100 },
                { text: '비고', datafield: 'co_bigo', align: 'center', cellsalign: 'center', filtertype: 'textbox', width: 100 },
                { text: '사용 여부', datafield: 'co_use_yn', align: 'center', cellsalign: 'center', filtertype: 'checkedlist', width: 100 },


===================================

            postData.co_code = $("#co_code").val();
            postData.co_name = $("#co_name").val();
            postData.co_type = $("#co_type").val();
            postData.co_biz_num = $("#co_biz_num").val();
            postData.co_preg_name = $("#co_preg_name").val();
            postData.co_tel = $("#co_tel").val();
            postData.co_addr = $("#co_addr").val();
            postData.co_bigo = $("#co_bigo").val();
            postData.co_use_yn = $("#co_use_yn").val();


===================================

co_code            = '$co_code',
co_name            = '$co_name',
co_type            = '$co_type',
co_biz_num            = '$co_biz_num',
co_preg_name            = '$co_preg_name',
co_tel            = '$co_tel',
co_addr            = '$co_addr',
co_bigo            = '$co_bigo',
co_use_yn            = '$co_use_yn',


===================================

<li class="bo_w_left">
    <label for="co_code" class="sound_only">업체 코드<strong class="sound_only">필수</strong></label>
    <input type="text" id="co_code" value="" required="" class="frm_input full_input required " size="50" maxlength="100" placeholder="업체 코드">
</li>

<li class="bo_w_left">
    <label for="co_name" class="sound_only">업체 이름<strong class="sound_only">필수</strong></label>
    <input type="text" id="co_name" value="" required="" class="frm_input full_input required " size="50" maxlength="100" placeholder="업체 이름">
</li>

<li class="bo_w_select w-50-left write_div">
    <label for="co_type" class="sound_only">업체 구분<strong class="sound_only">필수</strong></label>
    <select id="co_type" required="" class="required ">
        <option value="" selected="">업체 구분을 선택하세요</option>
    </select>
</li>

<li class="bo_w_left">
    <label for="co_biz_num" class="sound_only">업체 사업자 번호</label>
    <input type="text" id="co_biz_num" value="" class="frm_input full_input " size="50" maxlength="100" placeholder="업체 사업자 번호">
</li>

<li class="bo_w_left">
    <label for="co_preg_name" class="sound_only">업체 대표자 이름</label>
    <input type="text" id="co_preg_name" value="" class="frm_input full_input " size="50" maxlength="100" placeholder="업체 대표자 이름">
</li>

<li class="bo_w_left">
    <label for="co_tel" class="sound_only">업체 전화</label>
    <input type="text" id="co_tel" value="" class="frm_input full_input " size="50" maxlength="100" placeholder="업체 전화">
</li>

<li class="bo_w_left">
    <label for="co_addr" class="sound_only">업체 주소</label>
    <input type="text" id="co_addr" value="" class="frm_input full_input " size="50" maxlength="100" placeholder="업체 주소">
</li>

<li class="bo_w_left">
    <label for="co_bigo" class="sound_only">비고</label>
    <input type="text" id="co_bigo" value="" class="frm_input full_input " size="50" maxlength="100" placeholder="비고">
</li>

<li class="bo_w_select w-50-left write_div">
    <label for="co_use_yn" class="sound_only">사용 여부<strong class="sound_only">필수</strong></label>
    <select id="co_use_yn" required="" class="required ">
        <option value="" selected="">사용 여부을 선택하세요</option>
    </select>
</li>

 

===================================

// 업체 코드 체크
$co_code = "";
if(isset($_POST["co_code"]) && $_POST["co_code"]) $co_code = $_POST["co_code"];
if(!$co_code) $msg[] = "<strong>업체 코드</strong>를 선택하세요.";

// 업체 이름 체크
$co_name = "";
if(isset($_POST["co_name"]) && $_POST["co_name"]) $co_name = $_POST["co_name"];
if(!$co_name) $msg[] = "<strong>업체 이름</strong>를 선택하세요.";

// 업체 구분 체크
$co_type = "";
if(isset($_POST["co_type"]) && $_POST["co_type"]) $co_type = $_POST["co_type"];
if(!$co_type) $msg[] = "<strong>업체 구분</strong>를 선택하세요.";

// 사용 여부 체크
$co_use_yn = "";
if(isset($_POST["co_use_yn"]) && $_POST["co_use_yn"]) $co_use_yn = $_POST["co_use_yn"];
if(!$co_use_yn) $msg[] = "<strong>사용 여부</strong>를 선택하세요.";

 

[/code]

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

댓글 4개

글쎄요 ㅎㅎ 아파치님만 아시겠죠 ㅎ
@우성짱 ㅎㅎㅎㅎㅎ
$("#co_code").val( "" );

이부분이 약간 의심스럽습니다.
@마젠토 으잉... 왜용?

게시글 목록

번호 제목
1717265
1717252
1717247
1717243
1717237
1717225
1717214
1717208
1717203
1717189
1717183
1717177
1717172
1717163
1717162
1717156
1717154
1717153
1717141
1717140
1717138
1717113
1717111
1717105
1717099
1717085
1717076
1717072
1717065
1717062