jquery change style if attriubte using id code example
Example 1: jquery modify style attribute
$('#yourElement').css('display', 'none');
Example 2: styling element using jquery
Syntax:
$(selector).css(property-name:property-value);
Example:
$('.bodytext').css('color':'red');