$("input[name='radio_name']").filter('input[value='+dispYn+']').attr("checked", "checked");
if($("input[name='radio_name]:radio:checked").length == 0){
alert('선택해주세요');
}
jquery-radio 체크
2012. 2. 7. 16:38
Linux IP 변경시 수정해야 할 파일목록
2012. 2. 6. 20:39
1. /etc/sysconfig/network
-> gateway
2. /etc/sysconfig/network-scripts/ifcfg-eth0
-> ipaddr
3. /etc/resolv.conf
-> dns
물런 superuser 계정으로
참고사이트 : 리눅스포털(http://www.linux.co.kr/home/lecture/index.php?cateNo=&secNo=&theNo=&leccode=163)
jquery - selectbox
2012. 2. 1. 15:58
select box의 내용 가져오기
$("#select_box > option:selected").val();
select box의 값 설정
$("#select_box > option[value=지정값]").attr("selected", "true")
select disabled
$('#select_box ').attr('disabled', 'true');
해제 $('#select_box ').attr('disabled', ''); // 'false'를 줬을경우 안됨