Friday, January 17, 2014

Change default message for List/Library when there is no records


Add content editor webpart and add below line of code to change default message to "There are no items"

<script src="/sites/SupplierPortal/_layouts/SupplierPortal_CustomScripts/jQuery/jquery-ui-1.8.16.custom/js/jquery-1.6.2.min.js"
type="text/javascript"></script>


 <script type ="text/javascript" >

        $(document).ready(function() {

$("table.s4-wpTopTable table td.ms-vb:contains('There are no items')").text("");

     });</script>

No comments:

Post a Comment

Image noise comparison methods

 1. using reference image technique     - peak_signal_noise_ratio (PSNR)     - SSI 2. non-reference image technique     - BRISQUE python pac...