jquery 通过属性选择器获取input不为disabled的对象 $("input[id^='input_001']:not(:disabled)").each(function(){ console.log(this); });