SharePoint: Remove URL from Lookup columns using JavaScript

If you want to remove URL from the Lookup columns in SharePoint, just copy and paste the following code into the page. <div id="scriptdiv"></div> <script language="javascript"> var CTXMAX = 5; function RemoveLookupAfterPageLoad() { var table, i=1, ctx; // Remove lookup links while(i<=CTXMAX) { eval("if(typeof ctx" + i + " != 'undefined') ctx = ctx" +… Read More »