What does '>' mean when used as a JQuery selector? -


apologies if stupid question quite hard find using search engine, '>' operator mean when used selector?

e.g.

$('div.form-input > label').... 

it's parent > child - select elements matching second selector children of elements matching first selector. example:

div.myclass > p.yourclass 

will select p's of yourclass inside div of myclass.


Comments