I have several tags like this:
1 Comment
I would like to do this reversing the order of the
try this.
$('.classCover').each(function(){ var link = $(this).text().split(' '); $(this).text(link[1] + "(" + link[0] + ")"); });