jquery what does this statement do?

This what does this statement do?

var groupNames = jQuery(">tbody>tr.jqgroup span[title]", grid);

p.s. I have no other information, sample code, or demos, just this line.  If that is not enough, please allow someone else to answer.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

"grid" would be another jquery object that you're passing in.  Presumably a table element.
The jquery will select:

all spans that have a title attribute, anywhere within rows that have a jqgroup class, that are direct children of a tbody element, that's a direct child of the passed in grid.
Brief example of the above:

    <table id="mainObject">
            <tr class="jqgroup">
                <th><span title="blah">won't match, not within tbody</span></th>
                <td><span title="blah">won't match, row doesn't have a jqgroup class</span></td>
            <tr class="jqgroup">
                    <span>won't match, no title attribute</span>
                    <span title="blah">will match, has all criteria</span>

Open in new window

jackjohnson44Author Commented:
Thanks, what is the leading >?

Also, why not use a
The leading > just means direct child of the "grid" you're passing in.
In this case, I can only assume it would be to not select child tables inside of that one.  But just a hunch.

And not really any difference.  If I were doing it I probably would have used .find().
.children() would be different, as that will ONLY select direct children.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.