Wednesday, December 21, 2011

Change the 'Add new' link in document library

  • First find the ID of the <a> tag.. then
  • Add the following code to the current page either using SharePoint designer or by adding a Content query webpart
       <script>
         document.getElementById("<id of the control>").innerHTML="Sample Text"
       </script>

No comments:

Post a Comment