.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal

Home >> Articles >> SharePoint >> Post New Resource Bookmark and Share   

 Subscribe to Articles

Replace Add New Item Link Text to something Different Link Text

Posted By:Sagar Pardeshi       Posted Date: November 21, 2013    Points: 200    Category: SharePoint    URL: http://www.dotnetspark.com  

Replace "Add New Item" Link Text to something Different Link Text


 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.


In Content Editor Web Part, Place JavaScript that manipulates 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 HTML Ribbon Item's drop down menu.

4. In Content Editor web part enter the script:


<script type="text/javascript">

  document.getElementById("idHomePageNewItem").innerHTML="Add New InterviewTracker"




5. Save the page! see the result in action.

 Subscribe to Articles


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend