标签:css == 遍历 list absolute abs on() cti function
$(‘.InColor‘).each(function(){
if($(this).val()==1){
$(‘.absolute‘).css({"color":"gray"});
}else if($(this).val()==2){
$(‘.absolute‘).css({"color":"#ff8800"});
}else if($(this).val()==3){
$(‘.absolute‘).css({"color":"green"});
}else if($(this).val()==4){
$(‘.absolute‘).css({"color":"red"});
}
})
标签:css == 遍历 list absolute abs on() cti function
原文地址:http://www.cnblogs.com/yongwang/p/6958623.html