Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.
  1. Open Share point Designer and Open the site.
  2. Go to the Share point list which you want to customize.(Lists => ) Select "EditForm.aspx"
  3. Find the end tag of the PlaceHolderMain section
  4. Insert the following script above the </asp:Content> line:

    /* i know javascript is not exactly right. Please suggest what changes do i need to make in the javascript */

    <script type=”text/javascript”>
    var x=document.getElementsByTagName(“input”);
    for (var i=0; i<x.length; i++)
    {
    if (x.item(i).type==”button” && x.item(i).value==”Save and Close”)
    {
    x.item(i).style.display=”none”;
    }
    }
    </script> 
    
share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.