Replace Add New Item Link Text to Something Different Link Text

Posted: November 7, 2014 in SharePoint2010, SharePoint2013
Tags: ,

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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s