$(".layui-transfer-search").each(function(index,item){ //console.log("index:"+index); if (1==index){ $(item).css("display","none"); } });