Property values ​​in a CSS div jQuery

This is a very basic tip, basically consists in knowing what the value of a CSS property, through jQuery.

For example:

#div{display: none}

To know the value of this div in jQuery, addresses the following code statement:

var value = $('#div').css('display');
if(value == 'none'){
/*What you do*/
/*What you do*/

Until next time.