function change(){
if($("#CONTACT_SCHEDULED_YN").val()==0){
$('#CONTACT_SCHEDULED_TIME').attr('disabled',false)
}else{
$('#CONTACT_SCHEDULED_TIME').attr('disabled','disabled');
//或者$('#CONTACT_SCHEDULED_TIME').attr('disabled',true);
document.getElementById('CONTACT_SCHEDULED_TIME').style.backgroundColor="#EBEBE4";
}
}
posted on 2012-07-08 19:47
canry Tong 阅读(414)
评论(0) 编辑 收藏 所属分类:
js