2 ms·
I'm sorry, I couldn't resist: var result = $('#target').text(); $('#' + result).css({'background' : 'black', 'color' : 'white'}).text('me');
by jonobird1 10y ago
I'm sorry, I couldn't resist:
var result = $('#target').text();
$('#' + result).css({'background' : 'black', 'color' : 'white'}).text('me');