select box의 내용 가져오기
$("#select_box > option:selected").val();

select box의 값 설정
$("#select_box > option[@value=지정값]").attr("selected", "true")

jQuery 바로가기
2009/07/16 18:55 2009/07/16 18:55

Trackback Address :: https://youngsam.net/trackback/572