//文本框禁用$("input[type="text"]").each(function () { $("#" + this.id).attr("disabled", true);});
//文本框启用$("input[type="text"]").each(function () { $("#" + this.id).removeAttr("disabled");});