jquery first child 1

jquery first child

$('div:first-child')

Here is what the above code is Doing:
1. Select the first div element on the page.
2. Select the first child of the first div element on the page.
3. Select the first child of the first div element on the page, and then select the first child of that element.

Similar Posts