jquery监控输入框输入模糊查询

付费节点推荐

免费节点

节点使用教程

Clash 小火箭 v2ray节点购买

好用的梯子,海外网络,快速稳定

Google

$("#ks_input").bind("input propertychange",function(event){
var val = $(this).val();
console.log(val);
if(val == ""){
$("#form-group .radio-inline").children('').css('color','');
}else{
$("#form-group .radio-inline").each(function(){
var that = $(this);
if($(this).attr('nametag').indexOf(val) >= 0){
that.children('').css('color','red');
}else{
that.children('').css('color','');
}
});
}

});

评论(0)
游客的头像
表情
全部评论
最新