Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11508

JQuery Change of Text Disappears with Grouping

$
0
0

I have a list with a view that only shows 3 fields, Title, Name (linked to document/edit) and Description. I need the text in the Name field changed to show 'Download' instead of the filename. My JQuery is as follows (and it works, technically):

$(".ms-vb-title").find("a").text("Download");

The problem is, that when Grouping is added to the view, the code above no longer works. I've tried it at the bottom of the page, and I've tried it within a document.ready function. No luck.

Any ideas on how to get this working with Grouping?



Viewing all articles
Browse latest Browse all 11508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>