How to rename a SharePoint list Save button in SharePoint 2013/2016 or SharePoint online?

Hello SharePointers,

In this blog, we will take a look at the piece of jquery code to rename the “Save “button to “Submit” in SharePoint List.

$(“document”).ready(function ()
{
var inputcontrols = document.getElementsByTagName(“input”);
alert(inputcontrols.length);
for(i = 0; i
{
if(inputcontrols[i].type == “button” && inputcontrols[i].value == “Save”)
inputcontrols[i].value = “Submit”;
}
var buttonname= $(“span.ms-cui-ctl-largelabel:contains(‘Save’)”);

buttonname.text(“Submit”);

});
}

Happy SharePointing folks!!

Leave a Reply

Your email address will not be published. Required fields are marked *