자바스크립트 셀렉트박스 값 구하기
작성일 11-10-11 19:27
페이지 정보
작성자서방님 조회 334회 댓글 0건본문
options 의 갯수 = select.length
select 박스는 form 태크 안에 있어야 값을 가지고 오네...-_-;;
var form = document.frm;
var text = form.select.options[form.select.selectedIndex].text;
var value = form.select.options[form.select.selectedIndex].value;
댓글목록
등록된 댓글이 없습니다.