Replace Add New Item Link Text to Something Different Link Text

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.
Ebook Download
View all
Learn
View all