Replace “Add New Item” Link Text to Different Link Text SharePoint 2010

This article explore to  user’s requirement is to change “Add New Item” link text to ” Different Link text”, so that it will be more meaningful on list.

This article explore to  user’s requirement is to change “Add New Item” link text to ” Different Link text”, so that it will be more meaningful on list.

By default the “Add new item” appears like below:

change add new item text sharepoint

change add new item text sharepoint

Follow below steps to change the text:

  1. Go to the target page >> Site actions>> Edit Page
  2. Insert a CEWP just below the list view web part.

  3. Place the cursor in CEWP, Click on “Edit HTML Source” link from HTML Ribbon Item’s drop down menu. check fig below:

change add new item text sharepoint

change add new item text SharePoint

4. In Content Editor web part enter the script:
  document.getElementById(“idHomePageNewItem”).innerHTML=”Add New InterviewTracker”

  1. Save the page! see the result in action, it will appear like below:
change add new item text sharepoint

change add new item text sharepoint



Categories: CSS, JavaScript

Tags: , , ,

%d