> this.text = 'change to something '; // won't change ... :(}); Try
$(this).text('change to something '); I assume that the text depends on some element-specific info? If all the elements need the *same* text, replace all that code with $('a.pop').text('change to something ');