change attribute color in jquery code example Example: add color to attribute using jquery $(this).css('color', 'red');