Tuesday, December 3, 2013

Hide Created By and Modified By Bottom information from Display form or Edit form of SharePoint List using Jquery.


Step 1: Add HTML Webpart on Lists  Display or Edit form page. (Dispform.aspx)



Step 2: Add Following code into Source Editor of HTML Form Webpart.


<script type="text/javascript" src="../../Shared%20Documents/jquery-1.7.2.js"></script>

<script type="text/javascript" src="../../Shared%20Documents/jquery-1.7.2.min.js"></script>

<script type="text/javascript">
$(function () {

     HideBottomInformation();
 });


 function HideBottomInformation() {
    $('#onetidinfoblockV').css("display", "none");
    $('#onetidinfoblock1').css("display", "none");
    $('#onetidinfoblock2').css("display", "none");
    $('#onetidinfoblockV').hide();
    $('#onetidinfoblock1').hide();
    $('#onetidinfoblock2').hide();
}

</script>

Step 3: Save the Webpart and open Display form of list. The Bottom information hidden from display form.




1 comment:

  1. This comment has been removed by a blog administrator.

    ReplyDelete