Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

check css property jquery

// select your element
var elem = jQuery('#elem');

// check the display property (just 1 example)
if (elem.css('display') != 'none')
{
 	console.log('elem display is NOT none') 
}
else
{
 	console.log('elem display IS none') 
}

// I hope that this helps! Happy coding :)
 
PREVIOUS NEXT
Tagged: #check #css #property #jquery
ADD COMMENT
Topic
Name
8+2 =