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