Blog

Replace Add New Item Link Text to Something Different Link Text

Posted by Sagar P Blogs | SharePoint 2010 Jan 06, 2014
This blog explores the user’s requirement to change the Add New Item link text to "Different Link text", so that it becomes more meaningful on the list.
Introduction

This article explores the user’s requirement to change the "Add New Item" link text to " Different Link text", so that it becomes more meaningful on the list.



Solution

In the Content Editor Web Part, Place the JavaScript that manipulates the Add New Item text. In Detail:

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 the HTML Ribbon Item's drop down menu.


4. In the Content Editor web part enter the script:

<script type="text/javascript">
document.getElementById("idHomePageNewItem").innerHTML="Add New InterviewTracker"
</script



5. Save the page! watch the result in action.
COMMENT USING
PREMIUM SPONSORS
MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.
SPONSORED BY
  • MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.