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

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -