JQUERY

    셀렉트(select) index 값 가져오기
    • 조회수 603
    • 작성일 2018-02-10
    •  
    var chxex = $("#se_color option").index($("#se_color option:selected"));
    var sunse = chxex - 1;
    if(sunse > -1) {
    	$(".z").hide();
    $(".y").hide();
    $(".z:eq(" + sunse + ")").show();
    }