Tip

    Tip

    jQuery Select
    JQuery  

    <select id="slt_id" style="height: 320px" class="col-xs-12" size="4"></select>
    <select id="slt_id" size="4"></select>

    //index로 선택 해제  
    $("#slt_id").prop("selectedIndex", -1 );


    // Validator
    if($.IsNullOrUndefined($("#slt_id option:selected").val())){                
        xlert( 선택한 항목이 없습니다. );                 
        return false;
    }

    // 값 가져오기
    $("#slt_id option:selected").val();

    // 값 지정
    $("#slt_id").val("str");

    //이벤트
    $('#slt_id_').change(function (e) {
            BindBoardCateList_();
    });

    Comment (0)
    댓글 등록 폼
    덧글 입력박스
    유동형 덧글모듈