javascript - What is this Class comparison doing? -


$('body').find('.grid-container > .parsys .parsys') 

i found in bit of code , i'm not sure comparing , why there 2 classes following greater symbol. trying find specific hierarchy? , if that's case why second class?

in jquery ( or css) selector greater sign > not used comparison. means immediate child of element.

also note leading dot means class selector not id. ids use # symbol.

.class .selector {} #id .selector {} 

Comments

Popular posts from this blog

php - Zend Framework / Skeleton-Application / Composer install issue -

c# - Better 64-bit byte array hash -

python - PyCharm Type error Message -