$("input[name='radio_name']").filter('input[value='+dispYn+']').attr("checked", "checked");
if($("input[name='radio_name]:radio:checked").length == 0){
            alert('선택해주세요');
}


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)

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'를 줬을경우 안됨


+ Recent posts