how to replace style attribute in jquery code example Example: jquery modify style attribute $('#yourElement').css('display', 'none');