深入浅出SharePoint——使用jQuery来操控页面
$('input[title="Document number"]').attr("disabled", true); $('input[title="Document edition or version"]').attr("disabled", true); $('input[title="Document number"]').css("backgrounp", "#ebf3ff"); $('input[title="Document number"]').addClass("ReadOnlyInput");