JSFiddle - React, Tailwind, and code Playground
HTML
<a class="more" href="/e1">Event 1</a> (TEXT 1)
<br>
<a class="more" href="/e2">Event 2</a> (TEXT 2)
<br>
<a class="more" href="/e3">Event 3</a> (TEXT 3)
<br>
JavaScript
$.fn.nextText = function(index) {
return this.length ? this[index || 0].nextSibling.nodeValue : null;
};
var text = $('.more').nextText(1);
console.log(text);