Skip to content

Instantly share code, notes, and snippets.

@JoseCage
Created October 11, 2018 15:57
Show Gist options
  • Save JoseCage/3f657e4a2fdc2df2cd3ed404b7ca9823 to your computer and use it in GitHub Desktop.
Save JoseCage/3f657e4a2fdc2df2cd3ed404b7ca9823 to your computer and use it in GitHub Desktop.
Hide new item button in SharePoint library
function hideBt(){
document.getElementById("QCB1_Button1").style.display= "none";
}
_spBodyOnLoadFunctionNames.push("hideBt");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment