Upland OL User community

Add text "Continuation" for every page after first occurrence


I’m struggling to add this “Continuation” text for every next page only after it’s first occurrence. The “Classification Unit” which is in is breaking nicely good for each next page. Only missing is how to add this “Cont…” text. Pls note the Classification is a group so it can be multiple for every document set. Any idea? Thanks

I have resolved this using this Post pagination script

var curDesc = “”;

merge.context.query("#classDesc").each(function(index) {

if (curDesc == this.text() ) {
	this.append(" cont.");
} else {
	curDesc = this.text();